forked from josch/mmdebstrap
run_qemu.sh: run timeout with --foreground so that qemu can receive sigint and quit immediately
This commit is contained in:
parent
b46149b851
commit
bf31355c62
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ qemu-img create -f qcow2 -b "$(realpath $cachedir)/debian-$DEFAULT_DIST.qcow" -F
|
||||||
# to connect to serial use:
|
# to connect to serial use:
|
||||||
# minicom -D 'unix#/tmp/ttyS0'
|
# minicom -D 'unix#/tmp/ttyS0'
|
||||||
ret=0
|
ret=0
|
||||||
timeout 20m qemu-system-x86_64 \
|
timeout --foreground 20m qemu-system-x86_64 \
|
||||||
-cpu host \
|
-cpu host \
|
||||||
-no-user-config \
|
-no-user-config \
|
||||||
-M accel=kvm:tcg -m 4G -nographic \
|
-M accel=kvm:tcg -m 4G -nographic \
|
||||||
|
|
Loading…
Reference in a new issue