diff --git a/pages/linux/qm-wait.md b/pages/linux/qm-wait.md new file mode 100644 index 000000000..d83b793eb --- /dev/null +++ b/pages/linux/qm-wait.md @@ -0,0 +1,16 @@ +# qm wait + +> Wait until the virtual machine is stopped. +> More information: . + +- 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}}`