@vm_helper.ip is this global structure, which gets set to the current IP building - which actually worked out okay by accident until wait_for_ipv4, but now with the extra delay in the system, machine_batch builds will get an IP wrong around 30% of the time when provisioning new machines (it works when doing the chef run on already up machines because the timing is different...)
@vm_helper.ip is this global structure, which gets set to the current IP building - which actually worked out okay by accident until wait_for_ipv4, but now with the extra delay in the system, machine_batch builds will get an IP wrong around 30% of the time when provisioning new machines (it works when doing the chef run on already up machines because the timing is different...)

replace this with the actual eventual location of the bootstrap, machine_spec.location['ipaddress']

Signed-off-by: Jaymz Julian <b8eb3a843423d6c5f0e756be7258b3cbc61da9d7@limepoint.com>

chef-partners/chef-provisioning-vsphere