Fixed qemu argument typo and also correct use of raw disk

Signed-off-by: Dan Finneran <daniel.finneran@gmail.com>
This commit is contained in:
thebsdbox 2017-04-12 10:54:59 +01:00
parent 52f62bb30c
commit f7210ab4b4

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