Skip to content

Commit a2045a1

Browse files
authored
Merge pull request #174 from rancher-sandbox/qemu-6.1
qemu-img 6.1.0 no longer supports using -b without -F
2 parents b748f12 + ac49903 commit a2045a1

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)