qm-wait: add page (#8844)

This commit is contained in:
Byju John 2022-10-10 02:31:28 +01:00 committed by GitHub
parent 8e29662cfb
commit c9aa864863
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
pages/linux/qm-wait.md Normal file
View File

@ -0,0 +1,16 @@
# qm wait
> Wait until the virtual machine is stopped.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
- Wait until the virtual machine is stopped:
`qm wait {{vm_id}}`
- Wait until the virtual machine is stopped with a 10 second timeout:
`qm wait --timeout {{10}} {{vm_id}}`
- Send a shutdown request, then wait until the virtual machine is stopped with a 10 second timeout:
`qm shutdown {{vm_id}} && qm wait --timeout {{10}} {{vm_id}}`