** Description changed: + SRU Justification + + [IMPACT] Cloud-init overrides the hostname each boot with the fabric + provided name. Users expect that the hostname will not be reset each + boot. + + [Test Case 1] Upgrade from proposed + 1. Install cloud-init from proposed + 2. Change the hostname via /etc/hostname + 3. Reboot + 4. Confirm that the new hostname is used + + [Test Case 2] Reprovision + (Follow Test Case 1) + 1. Capture Azure VM + 2. Start captured VM + 3. Confirm that the new fabric name is used + + [Test Case 3] New Image Launch + 1. Build an Azure image from -proposed + 2. Boot and confirm that hostname is set properly + 3. Follow test case 1 + 4. Follow test case 2 + + [Regression Potential] As this is a backport of the 15.10 Datasource, + there is a medium regression potential. The 15.10 Datasource fixes a + number of Azure provisioning bugs and is thus desirable. + + [ORIGINAL REPORT] + Whilst a hostname change is immediately effective using the hostname or hostnamectl commands, and changing the hostname this way is propagated to the hostname field in the Azure dashboard, upon rebooting the Ubuntu VM the hostname reverts to the Virtual Machine name as displayed in the Azure dashboard. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: walinuxagent 2.0.8-0ubuntu1~14.04.0 ProcVersionSignature: Ubuntu 3.13.0-36.63-generic 3.13.11.6 Uname: Linux 3.13.0-36-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.4 Architecture: amd64 Date: Mon Sep 29 12:48:56 2014 ProcEnviron: TERM=xterm PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: walinuxagent UpgradeStatus: No upgrade log present (probably fresh install) mtime.conffile..etc.waagent.conf: 2014-09-29T09:37:10.758660
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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/cloud-init/+bug/1375252/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs