snippetbashTip
qm set — Set virtual machine options. More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_se
Viewed 0 times
virtualcommandoptionscliqm setmachinesetmore
linux
Problem
How to use the
qm set command: Set virtual machine options. More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_set>.Solution
qm set — Set virtual machine options. More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_set>.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,device_name1,...}}Passthrough a GPU device to the guest:
qm set {{100}} --hostpci{{0}} {{0000:00:02}},x-vga=1 --bios ovmfCode Snippets
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}}Context
tldr-pages: linux/qm set
Revisions (0)
No revisions yet.