-
Notifications
You must be signed in to change notification settings - Fork 175
Ubuntu VM Waiting for IP #292
Comments
During your build you need to add at the end of your preseed.cfg "d-i preseed/late_command string apt-install open-vmtools". Also depending on the version of vsphere-iso BIN you are using it will wait FOREVER (version 2.3 does). They need to build a new version of their bin that someone branched and tweaked code to expire after 30mins waiting for IP. |
According to #176, the floppy driver was removed from the Ubuntu kernel, which likely explains my problem. |
In fact the right package (at least for FocalFossa - 20.04) is open-vm-tools (dash between vm and tools). |
Hello, what did you do to work around since ubuntu won't read floppies? |
I ended up building the image locally using the VMware ISO builder and then pushing it to my vSphere servers with the vSphere post-processor. |
JFYI: Latest packer supports |
You can still feed it in as a floppy |
@dnapier — Would love to see your Packer JSON or HCL — with sensitive info redacted, of course — if you still have access to those files and are willing to share? |
@mikeschinkel Sorry, I just looked for them and I apparently don't have it anymore. :/ |
@dnapier — Well, at least thanks for looking. |
Hello.
Trying to use
packer
for the first time for deploying Ubuntu VM on my vSphere host.Got stuck with:
This is my template:
preseed.cfg
is located in the same directory I execute packer.What do I do wrong?
The text was updated successfully, but these errors were encountered: