1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-09 13:35:43 +02:00

pct-set: add page (#17550)

This commit is contained in:
Managor 2025-08-08 15:07:10 +03:00 committed by GitHub
parent 385eda096d
commit 3872278f35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

16
pages/linux/pct-set.md Normal file
View file

@ -0,0 +1,16 @@
# 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}}`