Skip to content

Commit 5509a8b

Browse files
committed
cmd-buildextend-metal: hardcode image format for secex VM
It's unlikely to change. This is prep to make a future change easier.
1 parent db0d071 commit 5509a8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd-buildextend-metal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ postprocess_qemu_secex() {
6868
# Basic qemu args:
6969
qemu_args=(); blk_size="512"
7070
[[ $platform == metal4k ]] && blk_size="4096"
71-
qemu_args+=("-drive" "if=none,id=target,format=${image_format},file=${imgpath},cache=unsafe" \
71+
qemu_args+=("-drive" "if=none,id=target,format=qcow,file=${imgpath},cache=unsafe" \
7272
"-device" "virtio-blk,serial=target,drive=target,physical_block_size=${blk_size},logical_block_size=${blk_size}")
7373

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

0 commit comments

Comments
 (0)