diff --git a/pages/linux/pct-set.md b/pages/linux/pct-set.md new file mode 100644 index 0000000000..c6dd2fe6ac --- /dev/null +++ b/pages/linux/pct-set.md @@ -0,0 +1,16 @@ +# pct set + +> Set container options. +> More information: . + +- 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}}`