From 3872278f35cd36cc4b2ebe979c92c67bc259abae Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 8 Aug 2025 15:07:10 +0300 Subject: [PATCH] pct-set: add page (#17550) --- pages/linux/pct-set.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/linux/pct-set.md 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}}`