jetbrains-infra / packer-builder-vsphere

Packer plugin for remote builds on VMware vSphere
Mozilla Public License 2.0
543 stars 175 forks source link

ip_wait_timeout toss error #288

Closed jimb0bmij closed 4 years ago

jimb0bmij commented 4 years ago

packer.io build -force CentOS7_build.json vsphere-iso output will be in this color.

1 error(s) occurred:

I have:

  "ip_wait_timeout": "1m",

under builders.

As it seems to me that the DEFAULT ip_wait_timeout waits forever. It never times out. As I see this forever. "==> vsphere-iso: Waiting for IP..." I would like a time out, if no IP found stop, clean up.

This is a question I can not seem to find a google to. If I'm creating a centos7 build and I don't install open-vm-tools. Does vsphere-iso while waiting for a IP is it REALLY waiting for open-vm-tools to say it has a IP or not? If so is there a overall timeout for vsphere-iso we can set. Say 60m if nothing happens just abort (then clean up, etc).

jimb0bmij commented 4 years ago

I found that the code was updated for this. I just had to compile the code to get the latest fixes. Hopefully someone will update the static bin files on the web site.