When Joining the VC to the Active Directory Domain you get an error similar to:
Error: Required configuration stage not enabled [code 0x0000a606]
The configuration of module 'set computer hostname' is required. Please either allow this configuration stage to be performed automatically (by passing '--enable hostname'), or manually perform these configuration steps and rerun the domain join:
The following step(s) are required:
Change the fqdn from 'vcenter01' to 'vcenter01.fqdn.dom'. The current fqdn is invalid because it does not contain a dot in the name. Changing the fqdn could be done via DNS, but this program will change it with the following steps:
* Making sure local comes before bind in nsswitch
* Adding the fqdn before all entries in /etc/hosts that contain the short hostname and removing the old fqdn if it appears on the line
* Restart nscd (if running) to flush the DNS cache
VMware vSphere ESXi
VMware vCenter Server
The vCenter /etc/hosts file contains a bad format with only the vCenter short name
The vcenter Hostname has been modified via /etc/hosts file and it is either incomplete or does not have the correct format.
In order to solve the issue follow these steps.
VMware vCenter Server Appliance hostname and DNS configuration are reverted after a reboot
https://knowledge.broadcom.com/external/article?articleId=344865