post-processor/vagrant: fix alternate providers
This commit is contained in:
parent
8d963501d7
commit
51735cc895
|
@ -208,8 +208,14 @@ func (p *PostProcessor) configureSingle(config *Config, raws ...interface{}) err
|
|||
|
||||
func providerForName(name string) Provider {
|
||||
switch name {
|
||||
case "aws":
|
||||
return new(AWSProvider)
|
||||
case "digitalocean":
|
||||
return new(DigitalOceanProvider)
|
||||
case "virtualbox":
|
||||
return new(VBoxProvider)
|
||||
case "vmware":
|
||||
return new(VMwareProvider)
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue