snippetbashTip
qm destroy — Destroy a virtual machine in QEMU/KVM Virtual Machine Manager. More information: <https://pve.proxmo
Viewed 0 times
virtualcommanddestroycliqm destroyqemukvmmachine
linux
Problem
How to use the
qm destroy command: Destroy a virtual machine in QEMU/KVM Virtual Machine Manager. More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_destroy>.Solution
qm destroy — Destroy a virtual machine in QEMU/KVM Virtual Machine Manager. More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_destroy>.Destroy a specific virtual machine:
qm {{[des|destroy]}} {{vm_id}}Destroy all disks that are not explicitly referenced in a specific virtual machine's configuration:
qm {{[des|destroy]}} {{vm_id}} --destroy-unreferenced-disksDestroy a virtual machine and remove from all locations (inventory, backup jobs, high availability managers, etc.):
qm {{[des|destroy]}} {{vm_id}} --purgeDestroy a specific virtual machine ignoring locks and forcing destroy:
sudo qm {{[des|destroy]}} {{vm_id}} --skiplockCode Snippets
Destroy a specific virtual machine
qm {{[des|destroy]}} {{vm_id}}Destroy all disks that are not explicitly referenced in a specific virtual machine's configuration
qm {{[des|destroy]}} {{vm_id}} --destroy-unreferenced-disksDestroy a virtual machine and remove from all locations (inventory, backup jobs, high availability managers, etc.)
qm {{[des|destroy]}} {{vm_id}} --purgeDestroy a specific virtual machine ignoring locks and forcing destroy
sudo qm {{[des|destroy]}} {{vm_id}} --skiplockContext
tldr-pages: linux/qm destroy
Revisions (0)
No revisions yet.