Is it possible to use Packer to build a template that does not have a network


I have been using the vsphere-iso provider to build templates on Vcenter. For various reasons, the target template is being build **without a network ** ; the network is to be configured on first boot via cloud-init.

The build starts and proceeds, completing and rebooting the template… There is no packer provision construct. Packer then issues “Waiting for IP”… which is never going to happen.

Eventually this times out, stops and deletes all assets without creating the template.

With a network, it works as expected.

Is there any way to complete the build without waiting for an IP?



And shutdown_command set to empty string.