Update cheatsheets

This commit is contained in:
ivuorinen
2025-08-09 00:20:24 +00:00
parent 3be72c1548
commit 388ec4ec4c
73 changed files with 294 additions and 96 deletions

21
tldr/linux/pct-set Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# pct set
> Set container options.
> More information: <https://pve.proxmox.com/pve-docs/pct.1.html>.
- Set container to start automatically on boot:
`pct set {{100}} --onboot`
- Set a container to have a static IP:
`pct set {{100}} --net0 name=eth0,bridge=vmbr0,ip={{10.0.0.100/24}},gw={{10.0.0.1}}`
- Set container memory limit:
`pct set {{100}} --memory {{8192}}`