You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version of vSphere: Version 6.5.0.10000 Build 7119157
Version of ESXi: 6.5.0
Issue:
Whenever I am cloning a Windows VM using the template, The VM takes template name as its Computer Name (DNS Name) and due to this I am unable to join the VM to the domain.
Yes! it is working fine when I pass the --cspec (customization specifications) in the Clone command. But it is not working with --disable-customization true (without the --cspec).
So, is it mandate to pass --cspec for the hostname to be reflected on the VM?
Or is there any explicit knife vsphere command to change the hostname of the VM post cloning without the customization specifications ?
Under the hood the settings specified in the cspec are mashed up with what's passed on the command line, so it's not one or the other. For Windows, we configure the domain joining stuff in a server side cspec and then customize everything else on the command line.
Versions:
Platform Details
Issue:
Whenever I am cloning a Windows VM using the template, The VM takes template name as its Computer Name (DNS Name) and due to this I am unable to join the VM to the domain.
Command I use:
knife vsphere vm clone testb2 --cips DHCP --template 'TEST_CHEF_TMPT' --datastore ******** --host *********** --disable-customization true --start
Output:
Cloning template TEST_CHEF_TMPT to new VM testb2
Finished creating virtual machine testb2
Powered on virtual machine testb2
Regards,
Bhargavi.
The text was updated successfully, but these errors were encountered: