Commit 8d963501 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/vmware/iso: set SSHConfig

parent 4f32692f
......@@ -31,17 +31,24 @@ func NewDriver(config *config) (vmwcommon.Driver, error) {
case "darwin":
drivers = []vmwcommon.Driver{
&Fusion5Driver{
AppPath: "/Applications/VMware Fusion.app",
AppPath: "/Applications/VMware Fusion.app",
SSHConfig: &config.SSHConfig,
},
}
case "linux":
drivers = []vmwcommon.Driver{
new(Workstation9Driver),
new(Player5LinuxDriver),
&Workstation9Driver{
SSHConfig: &config.SSHConfig,
},
&Player5LinuxDriver{
SSHConfig: &config.SSHConfig,
},
}
case "windows":
drivers = []vmwcommon.Driver{
new(Workstation9Driver),
&Workstation9Driver{
SSHConfig: &config.SSHConfig,
},
}
default:
return nil, fmt.Errorf("can't find driver for OS: %s", runtime.GOOS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment