From c9aa8648638b02dced7adbf146e04bc1e8bb7b71 Mon Sep 17 00:00:00 2001 From: Byju John Date: Mon, 10 Oct 2022 02:31:28 +0100 Subject: [PATCH] qm-wait: add page (#8844) --- pages/linux/qm-wait.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/linux/qm-wait.md 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}}`