1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-07 08:35:49 +02:00
tldr/pages/linux/qm-shutdown.md
2025-07-25 21:30:05 +05:30

684 B

qm shutdown

Shutdown a virtual machine on QEMU/KVM Virtual Machine Manager. More information: https://pve.proxmox.com/pve-docs/qm.1.html.

  • Shutdown a virtual machine:

qm {{[shu|shutdown]}} {{VM_ID}}

  • Shutdown a virtual machine after wait for at most 10 seconds:

qm {{[shu|shutdown]}} --timeout {{10}} {{VM_ID}}

  • Shutdown a virtual machine and do not deactivate storage volumes:

qm {{[shu|shutdown]}} --keepActive {{true}} {{VM_ID}}

  • Shutdown a virtual machine and skip lock (only root can use this option):

qm {{[shu|shutdown]}} --skiplock {{true}} {{VM_ID}}

  • Stop and shutdown a virtual machine:

qm {{[shu|shutdown]}} --forceStop {{true}} {{VM_ID}}