Centos image Waiting For IP (static)

i am running packer on the vmware environment which does not have dhcp. how can i get the ip for the created image.

i am getting error “packer-builder-vsphere-clone plugin: [INFO] Waiting for IP, up to total timeout: 30m0s, settle timeout: 5s”.

i have vmware tools installed on the template.

How did you assign the IP? With kickstart? Is the network active and connected automatically? Can you ping the IP?

A few setup files might be helpful.

i installed vmware tools on the template and it worked fine by picking up the IP but the thing is that it created a new VM on the remote host as i was expecting the new image to be created on the remote vmware host.

2020/04/08 06:34:45 packer-builder-vsphere-iso plugin: [INFO] Waiting for IP, up to total timeout: 30m0s, settle timeout: 5s

i have assigned the static ip address in the kickstart file. cannot ping the ip address vm is created but console shows dracut emergency shell

Can you follow up this thread and compare your configs/ scripts? Maybe it’s a common issue.

sure will do that. thanks for the attention.