Did you enable the GuestIPHack? See
https://packer.io/docs/builders/vmware-iso.html#building-on-a-remote-vsphere-hypervisor

On Mon, Jul 29, 2019, 11:23 Frédéric Cuza <frederic.c...@gmail.com> wrote:

> Hi Lynn,
>
> Are you sure that the network is correctly set on your VM ? I guess it is
> a Centos.
> Here you can find a kickstart that we use and that is working with the
> associtate json.
>
> Regards,
>
> Le lun. 29 juil. 2019 à 10:59, Lynn Ben Barouch <lynnbenbaro...@gmail.com>
> a écrit :
>
>> Hey!
>> I am using the vmware-iso builder, the VM gets created successfully and
>> the os installation is successful as well.
>> Also, I can successfully connect via SSH to the newly created VM (using
>> the same credentials given to packer). However, I am getting SSH timeouts.
>> All I am seeing in the packer log is:
>>
>> 2019/07/29 08:50:33 packer: 2019/07/29 08:50:33 [DEBUG] Opening new ssh 
>> session
>> packer: 2019/07/29 08:50:33 [DEBUG] starting remote command: esxcli 
>> --formatter csv network vm list
>> 2019/07/29 08:50:34 packer: 2019/07/29 08:50:34 [DEBUG] Error getting SSH 
>> address: EOF
>>
>>
>> : When running this command on the esx
>>
>> [packer@ESX:~] esxcli --formatter csv network vm list
>> Name,Networks,NumPorts,WorldID,
>> centos7-2019-07-29_08-18-22,"Network,",1,3179774,
>> centos7-2019-07-29_07-53-41,"Network,",1,3175792,
>>
>> .Please find attached my builder config
>>
>> --
>> 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 packer-tool+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/packer-tool/83da37f8-80d2-4997-b933-af3da4ae3503%40googlegroups.com
>> <https://groups.google.com/d/msgid/packer-tool/83da37f8-80d2-4997-b933-af3da4ae3503%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 packer-tool+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/CAKwqh9VDHhe996UjXEU%2B0nG8yeVk%3DLTOr19ar6J5LpbGx1EjkQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/packer-tool/CAKwqh9VDHhe996UjXEU%2B0nG8yeVk%3DLTOr19ar6J5LpbGx1EjkQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 packer-tool+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt9ZVJvUeHbMadeF6bi_zJM6a0FuuMFK0GVTDAmVcVXB5A%40mail.gmail.com.

Reply via email to