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
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 141-203: ~$ ls 141-203: ~$ ls 141-203: ~$ ubuntu-bug cloud-init
ip-10-196-
examples.desktop
ubuntu@# Created by cloud-init
ip-10-196-
examples.desktop
ubuntu@# Created by cloud-init
ip-10-196-