pct set
Set container options. More information: https://pve.proxmox.com/pve-docs/pct.1.html#cli_pct_set.
- Set container to start automatically on boot:
pct --onboot
- Set a container to have a static IP:
pct --net0 name=eth0,bridge=vmbr0,ip=,gw=
- Set container memory and CPU limit:
pct --memory --cpulimit
- Set the hostname of a container:
pct --hostname
- Mount a host file location in a guest:
pct --mp /,mp=/
- Set container tags:
pct --tags
- Remove an option:
pct --delete
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
