This commit is contained in:
Kroese 2023-05-05 17:24:06 +02:00 committed by GitHub
parent 43bf032d49
commit faa6f09bd2

View File

@ -32,7 +32,7 @@ _graceful_shutdown() {
# Don't send the powerdown signal because vDSM ignores ACPI signals
# echo 'system_powerdown' | nc -q 1 -w 1 localhost "${QEMU_MONPORT}" > /dev/null
# Send shutdown command to host via serial port
# 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)
if [[ ! "${RESPONSE}" =~ "\"success\"" ]] ; then