run_qemu.sh: run timeout with --foreground so that qemu can receive sigint and quit immediately

This commit is contained in:
Johannes Schauer Marin Rodrigues 2022-06-04 08:25:32 +02:00
parent b46149b851
commit bf31355c62
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -31,7 +31,7 @@ qemu-img create -f qcow2 -b "$(realpath $cachedir)/debian-$DEFAULT_DIST.qcow" -F
# to connect to serial use:
# minicom -D 'unix#/tmp/ttyS0'
ret=0
timeout 20m qemu-system-x86_64 \
timeout --foreground 20m qemu-system-x86_64 \
-cpu host \
-no-user-config \
-M accel=kvm:tcg -m 4G -nographic \