I am trying to use LDMS 9.0 Provisioning to perform an image deployment process in conjunction with UNATTEND.XML for the mini-setup part of Win7.
I've been using a very simple unattend file with success to this point; I'm now trying to put variables into the unattend file and have both PUBLIC and TEMPLATE variables come into play during provisioning to change that unattend file.
I want a variable for the local admin password on the machine.
My unattend.xml file contains referencest to this and I insert %localadminpass% into those parts of my unattend file.
In my provisioning template I inject that unattend.xml file then perform REPLACE TEXT steps to exchange the text in the file with my variables.
I just ran a provisioning task against a machine where the references in the unattend file exactly matched the variable names within PUBLIC variables. None of the variables I was attempting to use got passed. In the case of the local admin password, it became exactly "%localadminpass%".
Do I need my variables names to be different from the text I am replacing?
For example, should my unattend file include "localadminpass" and my REPLACE TEXT action say: replace "localadminpass" with %localadminpass%
-thoughts or advice?