ESX Host appears as localhost.localdomain in VMware Infrastructure/vSphere client

This article has not been completed yet. However, it may already contain  helpful Information and therefore it has been published at this stage.

Bash# Edit host file
vi etc/hosts
# Edit ESX Configfile
vi /etc/vmware/esx.conf
t

References:

https://kb.vmware.com/s/article/2009720