I would like to have sysprep make a call out to a server somewhere (SCCM, MDT, etc) that provides an answer during bootup to get the computer name and IP address to use. Any pointers on which technology or method to use?
Further info: I want to be able to create a base golden image on a VHD and sysprep it so that it powers down. Then differencing disks will point to this sleeping sysprepped image. However, while booting up each new vm, I want a way to set the computer name and IP uniquely, preferably by MAC address.
I can mount the VHD and edit unattend.xml before powering on, but it appears that unattend.xml has already been run on the previous shutdown and isn't used on boot-up.
My failback plan is to have a script run after booting up that will rename it, set the IP and reboot. However, I would like to avoid that extra reboot if at all possible.