[Bug 1052664] Re: 12.10 cloud-init injects comment into /etc/hostname
Scott Moser
smoser at ubuntu.com
Wed Sep 19 15:17:34 UTC 2012
This *should* be ok, as per 'man hostname':
-F, --file filename
Read the host name from the specified file. Comments (lines
starting with a `#') are ignored.
** Summary changed:
- 12.10 cloud-init injects comment into /etc/HOSTNAME
+ 12.10 cloud-init injects comment into /etc/hostname
** Description changed:
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
+ 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
--
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
More information about the Ubuntu-server-bugs
mailing list