Skip to content

Commit ac49903

Browse files
committed
qemu-img 6.1.0 no longer supports using -b without -F
> Backing file specified without backing format > Detected format of qcow2. Signed-off-by: Jan Dubois <[email protected]>
1 parent b748f12 commit ac49903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/qemu/qemu.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func EnsureDisk(cfg Config) error {
7878
}
7979
args := []string{"create", "-f", "qcow2"}
8080
if !isBaseDiskISO {
81-
args = append(args, "-b", baseDisk)
81+
args = append(args, "-F", "qcow2", "-b", baseDisk)
8282
}
8383
args = append(args, diffDisk, strconv.Itoa(int(diskSize)))
8484
cmd := exec.Command("qemu-img", args...)

0 commit comments

Comments
 (0)