Closed bish0polis closed 4 years ago
Try increasing the guest_startup_timeout... It has worked for a few others. I haven't had a lot of feedback from others using pxe, but I use it myself (without the chef provsioner).
Is that a timeout for
?
I looked for it in the source, but I'm still a bit of an idiot with go and the layout.
If it's the first kind of timeout, then that may be exactly what I need. I'll try it and report the good news back. Thanks!
It's in the README...
guest_startup_timeout - Optional - The amount of guest uptime, in seconds, to wait for an available IP address on this virtual machine.
When the time expires, the plugin just exits. No IP doesn't mean the build was unsuccessful...
Here's the function that uses that variable.
You're not the first that had similar issues with the guest startup time. So, I increased the default guest_startup_timeout to 120 seconds. It seems the old default (60 seconds) was a bit too short.
https://github.com/josenk/terraform-provider-esxi/releases/tag/v1.6.0
Hey folks,
I'm running into a tricky situation. My machine is defined as so:
The larger problem involves a chef provisioner, but my process goes:
The issue is that the provisioner (chef, here) is firing before the host is ready.
Is there a way I've just not seen yet, where I can make the privisoning step wait for vmware-tools coming online, or somehow wait a little longer? What's everyone else doing for PXE guests?