From 263641c53799c20c7f9b23bcdd5097c97ca22194 Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Sat, 1 Aug 2015 15:09:59 -0700 Subject: [PATCH] Fix case for ethernet.generatedAddress property lookup in VMX --- builder/vmware/common/ssh.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/vmware/common/ssh.go b/builder/vmware/common/ssh.go index 86e184bb5..9db075a71 100644 --- a/builder/vmware/common/ssh.go +++ b/builder/vmware/common/ssh.go @@ -39,7 +39,7 @@ func CommHost(config *SSHConfig) func(multistep.StateBag) (string, error) { var ok bool macAddress := "" if macAddress, ok = vmxData["ethernet0.address"]; !ok || macAddress == "" { - if macAddress, ok = vmxData["ethernet0.generatedaddress"]; !ok || macAddress == "" { + if macAddress, ok = vmxData["ethernet0.generatedAddress"]; !ok || macAddress == "" { return "", errors.New("couldn't find MAC address in VMX") } }