Skip to content
Snippets Groups Projects
Verified Commit b0401f34 authored by iliya.saroukha's avatar iliya.saroukha :first_quarter_moon:
Browse files

feat: shutting down VM after writing to file

parent 25caebfa
No related branches found
No related tags found
No related merge requests found
......@@ -38,3 +38,6 @@ close_file_cmd=$(jq -n --argjson int_handle "$int_handle" \
echo "Closing $file_path ($file_handle)..."
{ echo $close_file_cmd; sleep 1; } | socat unix-connect:/tmp/qga.sock - > /dev/null
echo "Shutting down VM..."
{ echo '{"execute":"guest-shutdown"}'; sleep 1; } | socat unix-connect:/tmp/qga.sock -
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment