From 8062e6c80a2df817b63273368e7daefce8f04e81 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 8 May 2023 17:09:24 +0200 Subject: [PATCH] Use new API call --- run/power.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run/power.sh b/run/power.sh index 7271830..79563e9 100644 --- a/run/power.sh +++ b/run/power.sh @@ -33,7 +33,7 @@ _graceful_shutdown() { # echo 'system_powerdown' | nc -q 1 -w 1 localhost "${QEMU_MONPORT}" > /dev/null # Send shutdown command to guest agent via serial port - RESPONSE=$(curl -s -m 2 -S http://127.0.0.1:2210/write?command=6 2>&1) + RESPONSE=$(curl -s -m 5 -S http://127.0.0.1:2210/read?command=6 2>&1) if [[ ! "${RESPONSE}" =~ "\"success\"" ]] ; then