pyvmomi-community-samples icon indicating copy to clipboard operation
pyvmomi-community-samples copied to clipboard

Setting computer name (host name) dynamically when cloning a VM

Open gilmatok opened this issue 9 months ago • 2 comments

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

gilmatok avatar May 01 '24 09:05 gilmatok