Running a Pre-Build script before using a builder (vsphere-iso)

Is this possible? We have limited number of IPs allotted to DHCP in our vmware environment. I have a python script that checks for lease availability. I then run packer build example.json if there’s availability.

Would I have to build a Go plugin? Seems like overkill, but, a fun learning experience.

I’m running a bash script as wrapper for building an env.ini and additional stuff. I think it’s up to you if you’ll to implement such things. :blush: