[Bug 1375252] Re: Hostname change is not preserved across reboot on Azure Ubuntu VMs
Yue Zhang
yuezha at microsoft.com
Wed Jan 7 04:41:22 UTC 2015
Cloud-init will reset hostname on every reboot. The hostname is stored
in /var/lib/waagent/ovf-env.xml.
You could use the following command to change your hostname.
sudo sed -e "s/your-old-hostname/your-new-hostname/" -i /var/lib/waagent/ovf-env.xml
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to walinuxagent in Ubuntu.
https://bugs.launchpad.net/bugs/1375252
Title:
Hostname change is not preserved across reboot on Azure Ubuntu VMs
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1375252/+subscriptions
More information about the Ubuntu-server-bugs
mailing list