From 126c399d30f7ccdb0269a5f558dead98ba2b96a7 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Thu, 26 Nov 2020 23:44:42 +0100 Subject: [PATCH] run_qemu.sh: explicitly convert to qcow2 --- run_qemu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_qemu.sh b/run_qemu.sh index 4fc819e..369fc3f 100755 --- a/run_qemu.sh +++ b/run_qemu.sh @@ -26,7 +26,7 @@ trap cleanup INT TERM EXIT # the path to debian-$DEFAULT_DIST.qcow must be absolute or otherwise qemu will # look for the path relative to debian-$DEFAULT_DIST-overlay.qcow -qemu-img create -f qcow2 -b "$(realpath $cachedir)/debian-$DEFAULT_DIST.qcow" "$tmpdir/debian-$DEFAULT_DIST-overlay.qcow" +qemu-img create -f qcow2 -b "$(realpath $cachedir)/debian-$DEFAULT_DIST.qcow" -F qcow2 "$tmpdir/debian-$DEFAULT_DIST-overlay.qcow" # to connect to serial use: # minicom -D 'unix#/tmp/ttyS0' qemu-system-x86_64 \