Skip to content

Commit

Permalink
cmd-osbuild: fix format for disk image passed to qemu
Browse files Browse the repository at this point in the history
Should have been qcow2 and not qcow.

Fixes 5509a8b
  • Loading branch information
dustymabe committed Nov 14, 2024
1 parent 7496933 commit 765d613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd-osbuild
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ postprocess_qemu_secex() {
# Basic qemu args:
qemu_args=(); blk_size="512"
[[ $platform == metal4k ]] && blk_size="4096"
qemu_args+=("-drive" "if=none,id=target,format=qcow,file=${imgpath},cache=unsafe" \
qemu_args+=("-drive" "if=none,id=target,format=qcow2,file=${imgpath},cache=unsafe" \
"-device" "virtio-blk,serial=target,drive=target,physical_block_size=${blk_size},logical_block_size=${blk_size}")

# SecureVM (holding Universal Key for all IBM Z Mainframes) requires scripts to execute genprotimg
Expand Down

0 comments on commit 765d613

Please sign in to comment.