qemu: Add "hvf" as a libvirt driver
To prevent post-processing from failing when running on macOS with the acceleratir set to "hvf".
This commit is contained in:
parent
daf1f39930
commit
e4c2216642
|
@ -39,7 +39,7 @@ func (p *LibVirtProvider) Process(ui packer.Ui, artifact packer.Artifact, dir st
|
|||
// Convert domain type to libvirt driver
|
||||
var driver string
|
||||
switch domainType {
|
||||
case "none", "tcg":
|
||||
case "none", "tcg", "hvf":
|
||||
driver = "qemu"
|
||||
case "kvm":
|
||||
driver = domainType
|
||||
|
|
Loading…
Reference in New Issue