1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 15:19:43 +01:00
tldr/pages/linux/qm-stop.md

481 B

qm stop

Stop a virtual machine. More information: https://pve.proxmox.com/pve-docs/qm.1.html.

  • Stop a virtual machine immediately:

qm stop {{VM_ID}}

  • Stop a virtual machine and wait for at most 10 seconds:

qm stop --timeout {{10}} {{VM_ID}}

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

qm stop --skiplock {{true}} {{VM_ID}}

  • Stop a virtual machine and don't deactivate storage volumes:

qm stop --keepActive {{true}} {{VM_ID}}