mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
qm-destroy: add page (#9054)
This commit is contained in:
parent
feacd615bf
commit
15c29885e6
1 changed files with 20 additions and 0 deletions
20
pages/linux/qm-destroy.md
Normal file
20
pages/linux/qm-destroy.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# 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 destroy {{vm_id}}`
|
||||||
|
|
||||||
|
- Destroy all disks that are not explicitly referenced in a specific virtual machine's configuration:
|
||||||
|
|
||||||
|
`qm destroy {{vm_id}} --destroy-unreferenced-disks`
|
||||||
|
|
||||||
|
- Destroy a virtual machine and remove from all locations (inventory, backup jobs, high availability managers, etc.):
|
||||||
|
|
||||||
|
`qm destroy {{vm_id}} --purge`
|
||||||
|
|
||||||
|
- Destroy a specific virtual machine ignoring locks and forcing destroy:
|
||||||
|
|
||||||
|
`sudo qm destroy {{vm_id}} --skiplock`
|
Loading…
Add table
Reference in a new issue