I'm shooting in the dark here too, but is it possible that the DHCP 
response is coming from the external router and not from VMware Workstation 
itself?

And I can confirm that VMware Tools aren't necessary for the initial build 
using Packer.

Dan

On Tuesday, July 18, 2017 at 12:43:54 AM UTC-5, Rickard von Essen wrote:
>
> No it doesn't. But it uses the mac address of the NIC to look it up in its 
> internal dhcp server, so if you are not using dhcp you have to specify the 
> IP address in ssh_host.
>
> (I think Hyperv is the only one that requires installing guest tools)
>
> // Rickard 
>
> On Jul 18, 2017 07:39, "Stuart Luscombe" <[email protected] 
> <javascript:>> wrote:
>
>> Similar to the issue I had with Hyper-V, do VMWare-based VMs require the 
>> guest tools to be installed for Packer to communicate?
>>
>> On Monday, 17 July 2017 19:46:06 UTC+1, [email protected] wrote:
>>>
>>> Here you go. Thanks
>>>
>>> Lookup up IP information...
>>>>
>>>> DHCP leases path: C:/ProgramData/VMware/vmnetdhcp.leases
>>>>
>>>> IP lookup failed: IP not found for MAC in DHCP leases at 
>>>>> C:/ProgramData/VMware/vmnetdhcp.leases
>>>>
>>>> [DEBUG] Error getting SSH address: IP lookup failed: IP not found for 
>>>>> MAC in DHCP leases at C:/ProgramData/VMware/vmnetdhcp.leases
>>>>
>>>> ]==> vmware-vmx: Timeout waiting for SSH.
>>>>
>>>> Executing: C:/Program Files (x86)/VMware/VMware Workstation/vmrun.exe 
>>>>> [-T ws list]
>>>>
>>>> [DEBUG] SSH wait cancelled. Exiting loop.
>>>>
>>>> -- 
>> This mailing list is governed under the HashiCorp Community Guidelines - 
>> https://www.hashicorp.com/community-guidelines.html. Behavior in 
>> violation of those guidelines may result in your removal from this mailing 
>> list.
>>  
>> GitHub Issues: https://github.com/mitchellh/packer/issues
>> IRC: #packer-tool on Freenode
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Packer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/packer-tool/3371deca-2d7b-40ea-bd80-8335a0ca53d3%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/packer-tool/3371deca-2d7b-40ea-bd80-8335a0ca53d3%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/b04060ac-f8fa-46e4-99b2-05bbf82d4cc4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to