[Bug 1052664] Re: 12.10 cloud-init injects comment into /etc/hostname

2012-09-19 Thread Ben Howard
ben@padfoot:/tmp$ diff 20120918.manifest 20120919.manifest 5c5 < apport 2.5.2-0ubuntu1 --- > apport 2.5.2-0ubuntu2 44c44 < debianutils 4.3.2 --- > debianutils 4.3.4 90c90 < iptables 1.4.12-2ubuntu1 --- > iptables 1.4.12-2ubuntu2 208c208 < libpipeline1:amd64 1.2.1-1 --- > libpipeline1:amd64 1.2.2-1

[Bug 1052664] Re: 12.10 cloud-init injects comment into /etc/hostname

2012-09-19 Thread Ben Howard
Regression is between 20120918 and 20120919 Server build, but is on the 20120918 Desktop build. ubuntu@domU-12-31-39-0C-74-7A:~$ cat /etc/cloud/build.info build_name: server serial: 20120918 ubuntu@domU-12-31-39-0C-74-7A:~$ ls ubuntu@domU-12-31-39-0C-74-7A:~$ cat /etc/hostname -- You received t

[Bug 1052664] Re: 12.10 cloud-init injects comment into /etc/hostname

2012-09-19 Thread Scott Moser
and, in fact, that *is* ok: $ cat /etc/hostname; echo ; echo == # Created by cloud-init domU-12-31-39-02-10-6D == $ sudo hostname --file /etc/hostname; echo $?; echo "hostname=$(hostname)"; echo === 0 hostname=domU-12-31-39-02-10-6D === $ sudo hostname -b -F /etc/hostname; echo $?; echo "hostname

[Bug 1052664] Re: 12.10 cloud-init injects comment into /etc/hostname

2012-09-19 Thread Scott Moser
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 inje