qemu: Add "hvf" as a libvirt driver

To prevent post-processing from failing when running on
macOS with the acceleratir set to "hvf".
pull/6955/head
Henk 8 years ago
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…
Cancel
Save