From e4c2216642ef4e34b8d21d88c6c947222bfc131b Mon Sep 17 00:00:00 2001 From: Henk Date: Sun, 4 Nov 2018 12:20:53 +0100 Subject: [PATCH] qemu: Add "hvf" as a libvirt driver To prevent post-processing from failing when running on macOS with the acceleratir set to "hvf". --- post-processor/vagrant/libvirt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post-processor/vagrant/libvirt.go b/post-processor/vagrant/libvirt.go index c20e8473b..60e274a57 100644 --- a/post-processor/vagrant/libvirt.go +++ b/post-processor/vagrant/libvirt.go @@ -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