Did you follow the instructions here?

https://packer.io/docs/builders/vmware-iso.html#building-on-a-remote-vsphere-hypervisor

With the excli command mentioned above you should get the IP of the VM if
guestiohack have been enabled.

On Tue, Sep 3, 2019, 11:04 Thorsten Baumeister <thorsten_baumeis...@gmx.de>
wrote:

> The Ubuntu Installer prints: "Network autoconfiguration has succeeded".
>
> The command 'esxcli network ip interface list' just lists the network
> interace of the server, but if I do a 'esxcli vm process list', the machine
> gets listed between all the others VMs running on the server.
> xxxx-ubuntu-18.04
>    World ID: 27543498
>    Process ID: 0
>    VMX Cartel ID: 27543497
>    UUID: 56 4d a2 2c 40 4e 41 08-7d 3c 34 86 57 dc fa 9b
>    Display Name: xxxx-ubuntu-18.04
>    Config File:
> /vmfs/volumes/59c0ffa0-c794a290-37b2-001cc4972452/xxxx-ubuntu-18.04/xxxx-ubuntu-18.04.vmx
>
> The problem exists regardless using a E1000 or a VMXNET3 NIC.
>
>
> Am Montag, 2. September 2019 19:52:24 UTC+2 schrieb Rickard von Essen:
>>
>> What's the exact output when you say there is a successful dhcp message?
>>
>> If you log into the ESXi, in the excli is the machine listed in:
>> network ip interface list
>>
>> On Mon, Sep 2, 2019, 17:58 Thorsten Baumeister <thorsten_...@gmx.de>
>> wrote:
>>
>>> Hi,
>>> I use packer 1.4.3 on Unbuntu 16.04 to build an Ubuntu 18.05 VM on an
>>> ESXi-Server 6.0.0.
>>> The "vmware-iso" builder manages to create, register and boot the VM and
>>> it starts the installation. I can follow the steps at the console of the
>>> vSphere Client.
>>> After the DHCP-query the installation stalls: the last output the Ubuntu
>>> installer generates is the success statement of the DHCP-query. After that
>>> the text vanishes and nothing else happens until the time limit is reached
>>> and the builder destroys the VM.
>>> If I interrupt the network configuration via DHCP (by clicking "Cancel"
>>> in the installer) and fill in the network parameters by hand, everything
>>> works fine. The builder generates the machine and it get's exported.
>>> Has anyone a tip for me?
>>>
>>> Regards,
>>> Thorsten
>>>
>>> --
>>> 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 packe...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/packer-tool/a617b2c1-9077-4119-83b7-3b574697f04f%40googlegroups.com
>>> <https://groups.google.com/d/msgid/packer-tool/a617b2c1-9077-4119-83b7-3b574697f04f%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/addfa1b9-8404-4d39-ac7c-1975bfb2bce4%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/addfa1b9-8404-4d39-ac7c-1975bfb2bce4%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/CALz9Rt_hfTORn5ZnsvbvBJiJGxOj7RHDVC%2BJBpP26eTK%3DkSOXg%40mail.gmail.com.

Reply via email to