VMware ESXi 4.1: unable to change host name

vmware-esxivmware-vsphere

I'm running the free ESXi 4.1 on a server and use the free vSphere Client to access the server. I would like to change the host name from localhost.$DOMAIN to something else, but when I go to Configuration -> DNS and Routing -> Properties, the Name and Domain boxes are grayed out and I can't edit them. What do I have to do to change the host name?

Best Answer

Do it via the console on the host.

Hit F2, enter user/password, 'Configure Management Network', 'DNS Configuration', 'Hostname' - then save and restart the management network.

Then just remove/re-add the host into your VC/cluster.