snippetbashTip
qm shutdown — Shutdown a virtual machine on QEMU/KVM Virtual Machine Manager. More information: <https://pve.proxm
Viewed 0 times
virtualcommandqm shutdowncliqemukvmmachineshutdown
linux
Problem
How to use the
qm shutdown command: Shutdown a virtual machine on QEMU/KVM Virtual Machine Manager. More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_shutdown>.Solution
qm shutdown — Shutdown a virtual machine on QEMU/KVM Virtual Machine Manager. More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_shutdown>.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}}Code Snippets
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}}Context
tldr-pages: linux/qm shutdown
Revisions (0)
No revisions yet.