Pending merge proposal. Cloud-init's default behavior was to set the hostname via the system hostname each boot and then bounce the interface. In taking a look at this, the dhcp configuration was using "gethostname()" in order to determine what name to send to the fabric. By having cloud-init set the hostname in the dchpclient configuration, this can be fixed. My patch brings cloud-init's hostname handling more inline with other datasources.
** Changed in: walinuxagent (Ubuntu) Status: Confirmed => In Progress -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs