I'm trying to create a provisioning template that will reimage a Windows server and use its existing static IP address in the unattend.xml file. The problem is that LDMS IP addresses are stored with leading zeros, which always (even when entered manually in the unattend.xml file, forgetting LDMS provisioning for a second) yields the wrong value, as I think Windows is interpreting the number as octal.
The database value that I'm passing as a public variable is "Computer"."Network"."TCPIP"."Bound Adaptor"."IP Address"
Is there any way around this? Maybe querying another value, or is there a setting to remove leading zeros? From what I've gathered, the behaviour of Windows sysprep handling IP address values can't be changed.