Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

25
linux/qm-destroy Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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`