From 5a446aa6efbbf33b5d7ddcc0f91243fd58ebf057 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Wed, 12 Oct 2022 19:21:44 +0200 Subject: [PATCH] ./manage_all.sh: add force-stop --- manage_all.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/manage_all.sh b/manage_all.sh index 059018d..a4205e4 100755 --- a/manage_all.sh +++ b/manage_all.sh @@ -10,11 +10,14 @@ for vm in output/*/; do 'stop') echo system_powerdown | ncat -U "$vm/monitor.sock" ;; + 'force-stop') + echo quit | ncat -U "$vm/monitor.sock" + ;; 'attach') remote-viewer "spice+unix://./$vm/spice.sock" & ;; *) - echo >&2 "Usage: $0 (start | stop | attach)" + echo >&2 'Usage: $0 (start | [force-]stop | attach)' exit 1 ;; esac