Provisioning VMWare from template with no DHCP access

Problem:
The main Problem is I just can’t get my head around how this is going to work.

I have no control over DHCP or DNS in my environment. I want to be able to provision a VM from a Centos7 template using Static addressing. If I create my template to use DHCP it gets an address allocated from Windows but I have no idea what it will be to be able to complete provisioning i.e. ssh can’t connect.
I’ve read multiple guides on the subject but they all seem to assume foreman is also managing DHCP and DNS.

Expected outcome:
Provision a new server with a static IP address from a blank/sys-unconfig template

Foreman and Proxy versions:
1.24.3

Hello,

finish template over SSH can be only used if you manage DHCP and/or DNS.

You can use the alternative workflow based on cloud-init and user-data templates via Open VM Tools and networking VMWare configuration capabilities:

https://docs.theforeman.org/guides/build/doc-Provisioning_Guide/index-foreman.html#Provisioning_Virtual_Machines_in_VMware_vSphere-Provisioning_with_cloudinit_and_userdata_templates

1 Like

Can you please the updated link here?