mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
Merge pull request #1596 from thebsdbox/qemu_raw_disk
Fixed qemu argument typo and also correct use of raw disk
This commit is contained in:
commit
b83e4af084
@ -90,7 +90,7 @@ func runQemu(args []string) {
|
|||||||
} else {
|
} else {
|
||||||
log.Infof("Using existing disk [%s]", *qemuDiskPath)
|
log.Infof("Using existing disk [%s]", *qemuDiskPath)
|
||||||
}
|
}
|
||||||
qemuArgs = append(qemuArgs, "-disk", "file="+*qemuDiskPath+",format=raw")
|
qemuArgs = append(qemuArgs, "-drive", "file="+*qemuDiskPath+",format=qcow2")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check flags for iso/uefi boot and if so disable kernel boot
|
// Check flags for iso/uefi boot and if so disable kernel boot
|
||||||
|
Loading…
Reference in New Issue
Block a user