Hello, I'm usung an external tool (Saltstack with salt-cloud commands) and checking the cloned VM the unattende xml generated by VMWARE for the sysprep commnad has the below commnads.... is there a way to add my one custom command after those? (there is another section FirstLogonCommand that also has some commands and that part we can add commands to).
Thank you!
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Path>C:\sysprep\guestcustutil.exe cleanBootExecute</Path>
<Order>1</Order>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Path>C:\sysprep\guestcustutil.exe restoreMountedDevices</Path>
<Order>2</Order>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Path>C:\sysprep\guestcustutil.exe flagComplete</Path>
<Order>3</Order>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Path>C:\sysprep\guestcustutil.exe deleteContainingFolder</Path>
<Order>4</Order>
</RunSynchronousCommand>
</RunSynchronous>