How does one reset a hostname and domain name (FQDN) to localhost.localdomain on a Centos 6.2 Azure Instance? I've tried editing /etc/sysconfig/network
, /etc/sysctl.conf
, setting the hostname manually, but whatever I do, cannot get FQDN (i.e. the output of hostname -f
command to localhost.localdomain.
Is there any specific way of persisting an FQDN such as this one on Centos?
Thanks