From edef728d7ec6ea18df50ab113f607ca9b9cd28de Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Wed, 6 Aug 2025 19:10:48 +0300 Subject: [PATCH] qm-set: add page (#17503) Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --- pages/linux/qm-set.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/linux/qm-set.md diff --git a/pages/linux/qm-set.md b/pages/linux/qm-set.md new file mode 100644 index 0000000000..ecb5b0b952 --- /dev/null +++ b/pages/linux/qm-set.md @@ -0,0 +1,28 @@ +# qm set + +> Set virtual machine options. +> More information: . + +- Set a name for a VM in the GUI: + +`qm set {{100}} --name {{vm_name}}` + +- Set a VM to autostart on boot: + +`qm set {{100}} --autostart {{0|1}}` + +- Set the allotted core count of a VM: + +`qm set {{100}} --cores {{4}}` + +- Set the allotted amount of memory: + +`qm set {{100}} --memory {{8192}}` + +- Give a VM a network device and bridge it to the host network: + +`qm set {{100}} --net{{0}} {{virtio|e1000|rtl8139|vmxnet3}},bridge=vmbr{{0}}` + +- Delete a device: + +`qm set {{100}} --delete {{device_name0}}`