pyvmomi-community-samples
pyvmomi-community-samples copied to clipboard
Setting computer name (host name) dynamically when cloning a VM
Is your feature request related to a problem? Please describe.
I cannot set the computer name (host name) when cloning a VM from a template, so the cloned VM always get the same computer name, which can cause issues with certain programs.
Describe the solution you'd like
There should be a way to set the computer name when cloning a VM.
Describe alternatives you've considered
I've looked at the VMWare documentation for CloneSpec, but I couldn't find anything related to that. The only thing I found was CustomizationSpec, but this refers to the network hostname, not the computer (OS) name
Additional context
No response