Public bug reported: On the desktop builds, the default desktop environment does not respond favorably to having a comment in /etc/hostname -- it inserts "# Created by cloud-init\n" in the bash line.
ubuntu@# cat /etc/hostname # Created by cloud-init ubuntu@# Created by cloud-init ip-10-196-141-203:~$ ls examples.desktop ubuntu@# Created by cloud-init ip-10-196-141-203:~$ ls examples.desktop ubuntu@# Created by cloud-init ip-10-196-141-203:~$ ubuntu-bug cloud-init ** Affects: cloud-init (Ubuntu) Importance: Medium Status: Confirmed ** Tags: cloud-images cloud-init ec2 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1052664 Title: 12.10 cloud-init injects comment into /etc/HOSTNAME To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1052664/+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