I'm struggling with a strange problem on a Ubuntu 14.04.1 LTS VM running on Azure. My hostname keeps getting reverted to something related to my Azure Deployment. In short: the system hostname does not equal
cat /etc/hostname while
/etc/hosts remain unchanged.
This is my
And this my /etc/hosts
127.0.0.1 localhost # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts 10.0.1.6 dbc1mdb 10.0.1.7 dbc1sdb1
I am really pulling my hair out. Any suggestions?
UPDATE: I'm now suspecting that either the DHCP client or the Azure Linux Agent is messing with the hostname.