So I am trying to use LDMS to deploy server images to standardise our builds but I need to be able to define the Device Name during the build.
I have the Device Name Prompter popping up and asking for the name which I enter and in my unattend script I have the ldhostname variable in the specialize pass.
But when I enter the name in the prompter and then click OK the script fails to inject with the error saying it cannot fine the variable ldhostname!
I have stripped the unattend script back to just the bear minimum and it still states the variable is not there.
So what gives? Anyone else managed to get this working?
Using LDMS 2016.3 and Server 2012R2 as the image.