I am trying to create a template in ESX that I can automate with PowerCLI. Everything works great so far, but because I have some specific settings, I had to create my own sysprep.inf. Now, the computername and the VM guest name are out of synch. I need to automate this for a sandbox enviornment, so I will constantly be deleting and rebuilding boxes. Thus, I need the VMhost name and the computername to be the same. Am I missing something?

link|improve this question

feedback

1 Answer

You can modify the vm with OSCustomizationSpec to set the computer name to the vm name.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.