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:
Henk 2018-11-04 12:20:53 +01:00
parent daf1f39930
commit e4c2216642
1 changed files with 1 additions and 1 deletions

View File

@ -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