Added missing root path to path-finders for the VMware Fusion implementation in the vmware builder as mentioned by @SwampDragons.

pull/3417/head
Ali Rizvi-Santiago 9 years ago
parent b2fec18b1e
commit 737e951685

@ -141,7 +141,7 @@ func (d *Fusion5Driver) Verify() error {
return err
}
libpath := filepath.Join("Library", "Preferences", "VMware Fusion")
libpath := filepath.Join("/", "Library", "Preferences", "VMware Fusion")
d.VmwareDriver.DhcpLeasesPath = func(device string) string {
return "/var/db/vmware/vmnet-dhcpd-" + device + ".leases"

@ -66,7 +66,7 @@ func (d *Fusion6Driver) Verify() error {
}
log.Printf("Detected VMware version: %s", matches[1])
libpath := filepath.Join("Library", "Preferences", "VMware Fusion")
libpath := filepath.Join("/", "Library", "Preferences", "VMware Fusion")
d.VmwareDriver.DhcpLeasesPath = func(device string) string {
return "/var/db/vmware/vmnet-dhcpd-" + device + ".leases"

Loading…
Cancel
Save