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.
Wolfsrudel:
the IP? Wi
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.
Hello,
I’ve been trying to create a basic CentOS7 qcow2 image. Packer spins up a VM from the ISO specified, and I can connect to the running instance thru VNC. When the VM gets to the point where it runs the post instructions, the VM just stops there, even with no post instructions in the kickstart file. Eventually Packer times out and I get:
==> kvm: Timeout waiting for SSH.
I assume the VM is supposed to reboot for Packer to ssh in. Any suggestions would be greatly appreciated.
Packe…
sure will do that. thanks for the attention.