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:
Justin Cormack 2017-04-12 12:03:33 +01:00 committed by GitHub
commit b83e4af084

View File

@ -90,7 +90,7 @@ func runQemu(args []string) {
} else {
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