diff --git a/libexec/make-clean-vm b/libexec/make-clean-vm index 5c66a27..2e4a633 100755 --- a/libexec/make-clean-vm +++ b/libexec/make-clean-vm @@ -45,7 +45,7 @@ BASE=base-$SUITE-$ARCH-root OUT=target-$SUITE-$ARCH-root if [ -z "$USE_LXC" ]; then - cp $BASE.qcow2 $OUT.qcow2 + qemu-img create -f qcow2 -o backing_file="$BASE.qcow2" "$OUT.qcow2" else sudo rm -rf $OUT sudo cp -a $BASE $OUT