I'm automating a deployment on a vmware esxi host using some custom shell scripts and I would need to know in advance the IP this VM is going to get from a DHCP prior to it being installed.
I know the MAC address in before hand. Is it possible to issue a request to the dhcp manually using the mac address reserved for the VM in order to figure out what address the DHCP will be offering and if so how?
N.B: DHCP reservation is not the solution I am trying to find, but I understand it's the most reasonable/logic - see why in my comment below.