Skip to content

Commit 227251c

Browse files
committed
qemu: add shutdown_qemu_vm_on_export_clean microstep
1 parent d0abb03 commit 227251c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

steps/bootstrap/start_qemu.yaml

+7-2
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@
5959
- exec_local: test $SSH_AVAILABLE -eq 1
6060
- breakpoint: Failed to connect to VM via SSH. Please verify the VM successfully booted with a vnc client.
6161

62-
- force_shutdown_qemu_vm:
62+
- shutdown_qemu_vm_on_setup_clean:
6363
- on_checkpoint: redo
6464
- check_cmd_local: socat
65-
- on_setup_clean:
65+
- on_setup_clean: &1
6666
- exec_out: echo "Sync"
6767
- exec_out: sync
6868
- exec_out: echo "Shutting down virtual machine"
@@ -95,3 +95,8 @@
9595
fi
9696
fi
9797
rm -f $${qemu_monitor_socket}
98+
99+
- shutdown_qemu_vm_on_export_clean:
100+
- on_checkpoint: redo
101+
- check_cmd_local: socat
102+
- on_export_clean: *1

0 commit comments

Comments
 (0)