1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-10 20:55:48 +02:00
tldr/pages/linux/qm-shutdown.md

25 lines
684 B
Markdown
Raw Normal View History

2022-10-08 02:39:26 +01:00
# 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:
2025-07-25 19:00:05 +03:00
`qm {{[shu|shutdown]}} {{VM_ID}}`
2022-10-08 02:39:26 +01:00
- Shutdown a virtual machine after wait for at most 10 seconds:
2025-07-25 19:00:05 +03:00
`qm {{[shu|shutdown]}} --timeout {{10}} {{VM_ID}}`
2022-10-08 02:39:26 +01:00
- Shutdown a virtual machine and do not deactivate storage volumes:
2025-07-25 19:00:05 +03:00
`qm {{[shu|shutdown]}} --keepActive {{true}} {{VM_ID}}`
2022-10-08 02:39:26 +01:00
- Shutdown a virtual machine and skip lock (only root can use this option):
2025-07-25 19:00:05 +03:00
`qm {{[shu|shutdown]}} --skiplock {{true}} {{VM_ID}}`
2022-10-08 02:39:26 +01:00
- Stop and shutdown a virtual machine:
2025-07-25 19:00:05 +03:00
`qm {{[shu|shutdown]}} --forceStop {{true}} {{VM_ID}}`