When I create VMs, my automatic hostname is localhost.localdomain. This is creating some networking issues from my VM to another Windows computer that I have (cannot ping to my VM). How can I change my hostname of my VM? Do I need to also change it inside my VM as well as in the vSphere Client?
Update: I have changed my hostname of my RHEL VM to say "MyVM" and verified this in /etc/hosts and /etc/sysconfig/network. However, I am still unable to ping to MyVM from another Windows computer on my network. Does this have anything to do with the dnsdomainname? I get dnsdomainname: Unknown host. On my vSphere Client, it still says the Host is localhost.localdomain, but from your responses below, it should not matter about what the vSphere Client says..
Any thoughts?
Thanks!!