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

29
linux/qm-shutdown Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# qm shutdown
> Shutdown a virtual machine on QEMU/KVM Virtual Machine Manager.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
- Shutdown a virtual machine:
`qm shutdown {{VM_ID}}`
- Shutdown a virtual machine after wait for at most 10 seconds:
`qm shutdown --timeout {{10}} {{VM_ID}}`
- Shutdown a virtual machine and do not deactivate storage volumes:
`qm shutdown --keepActive {{true}} {{VM_ID}}`
- Shutdown a virtual machine and skip lock (only root can use this option):
`qm shutdown --skiplock {{true}} {{VM_ID}}`
- Stop and shutdown a virtual machine:
`qm shutdown --forceStop {{true}} {{VM_ID}}`