hi all,
I am trying to write a customizationSpec from an xml input.
Although I am almost finished this it seems like it is way overcomplicated.
Is it possible to generate a sysprep file and pass the content into the customization task? I noticed there is an example of modifying a resourceElement containing a sysprep.inf which would be 100% ideal for what I am trying to do however it doesn't show how to use the resource element in the customize task?
ie
task = vm.customizeTask(resourceElement of sysprep.inf )
I have little need to convert to licenseDataMode customizationNetBIOSMode objects etc as this seems like defeating the purpose of what I am trying to achieve.
note because I am doing this for mass deployment simply setting the objects its not suitable as they need to be dynamically set and will be likely to be different for each server deployed.
server1 = customizationSpec1 (such as sysprep1.inf)
server2 = customizationSpec2 (such as sysprep2.inf)
server3 = customizationSpecx (such as sysprepx.inf)