mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 21:16:57 +02:00
build_library: pass force_size when converting disks to vpc
this stops qemu-img info from choking on vpc-type images made with our patched qemu.
This commit is contained in:
parent
2ba6e9c43e
commit
2b46ddc20c
@ -533,7 +533,7 @@ _write_qcow2_disk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_write_vhd_disk() {
|
_write_vhd_disk() {
|
||||||
qemu-img convert -f raw "$1" -O vpc "$2"
|
qemu-img convert -f raw "$1" -O vpc -o force_size "$2"
|
||||||
assert_image_size "$2" vpc
|
assert_image_size "$2" vpc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user