Merge pull request #4104 from 0x6c7862/master
Fixed inconsistency between vagrant-libvirt driver and packer QEMU ac…
This commit is contained in:
commit
8e11edbf40
|
@ -38,7 +38,9 @@ func (p *LibVirtProvider) Process(ui packer.Ui, artifact packer.Artifact, dir st
|
|||
// Convert domain type to libvirt driver
|
||||
var driver string
|
||||
switch domainType {
|
||||
case "kvm", "qemu":
|
||||
case "none", "tcg":
|
||||
driver = "qemu"
|
||||
case "kvm":
|
||||
driver = domainType
|
||||
default:
|
||||
return "", nil, fmt.Errorf("Unknown libvirt domain type: %s", domainType)
|
||||
|
|
Loading…
Reference in New Issue