[Bug 812539] Re: FQDN does not get set correctly in /etc/hosts

Adam Gandelman 812539 at bugs.launchpad.net
Mon Jul 18 22:37:49 UTC 2011


As per discussion in #ubuntu-server, the following revised patch adheres
to debian policy [1] with regards to populating /etc/hosts.

In absence of a hostname provided by a cloud metadata source,
cc_update_etc_hosts.py will query platform.node() and construct a fqdn
with a ".localhost" domain for 127.0.1.1 in /etc/hosts.

1.
https://one.ubuntu.com/files/shareoffer/4f402554-ca48-4a0d-b133-47c4bf238415/

-- 
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/812539

Title:
  FQDN does not get set correctly in /etc/hosts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/812539/+subscriptions



More information about the Ubuntu-server-bugs mailing list