~ # esxcli --formatter csv network vm port list -w 11088749ActiveFilters,DVPortID,IPAddress,MACAddress,PortID,Portgroup,TeamUplink,UplinkPortID,vSwitch,,,172.17.0.23,00:0c:29:6e:e9:ce,33554444,BPS Network,vmnic0,33554434,vSwitch0,
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/d7dc133f-f52c-4dec-99f5-c59a770fef0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
# Network configurationd-i netcfg/choose_interface select autod-i netcfg/disable_autoconfig boolean trued-i netcfg/get_ipaddress string 172.17.0.23d-i netcfg/get_netmask string 255.255.255.0d-i netcfg/get_gateway string 172.17.0.1d-i netcfg/get_nameservers string 172.17.0.1d-i netcfg/confirm_static boolean trued-i netcfg/get_hostname string unassigned-hostnamed-i netcfg/get_domain string unassigned-domain
hellolets skip packer for a second, since looks more a ubuntu question at this pointwhat your preseed does? use dhcp or fixed ip?if use dhcp, there is dhcp server in the network being used ?Alvaro
On Mon, Oct 2, 2017 at 11:26 AM, Suraphart Suwanmaitree <surap...@gmail.com> wrote:
Hi,I have problem building an Ubuntu VM on a remote ESXi using Packer. The VM always failed to finish the configuration and getting terminated after "Timeout waiting for SSH.". I see "[DEBUG] Error getting SSH address: No interface on the VM has an IP address ready" message in the Packer debug log but the IP address has already been assigned to the VM as I can see from the "esxcli --formatter csv network vm port list -w <VM world ID>" output and it can be reached via ping. Here is my template https://gist.github.com/giiift/012404a732d81cbc95e2487cbfcdfea9.~ # esxcli --formatter csv network vm port list -w 11088749ActiveFilters,DVPortID,IPAddress,MACAddress,PortID,Portgroup,TeamUplink,UplinkPortID,vSwitch,,,172.17.0.23,00:0c:29:6e:e9:ce,33554444,BPS Network,vmnic0,33554434,vSwitch0,I tried both static IP and dynamic IP from DHCP but they all failed with the same error. The debug log is as attached.Below is my environment:
- Packer v1.1.0
- VMware ESXi 5.5.0 Releasebuild-3116895
Does anyone has any idea how to fix my problem?Regards.
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/d7dc133f-f52c-4dec-99f5-c59a770fef0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alvaro