Comment 0 for bug 1052664

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote : 12.10 cloud-init injects comment into /etc/HOSTNAME

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