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

20 lines
669 B
Markdown

# qm destroy
> Destroy a virtual machine in QEMU/KVM Virtual Machine Manager.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
- 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-disks`
- Destroy a virtual machine and remove from all locations (inventory, backup jobs, high availability managers, etc.):
`qm {{[des|destroy]}} {{vm_id}} --purge`
- Destroy a specific virtual machine ignoring locks and forcing destroy:
`sudo qm {{[des|destroy]}} {{vm_id}} --skiplock`