[Bug 1087183] Re: MaaS cloud-init configuration specifies 'manage_etc_hosts: localhost'

Andreas Hasenack andreas at canonical.com
Wed Sep 17 13:47:49 UTC 2014


About Scott's (a) point, the debian document says you should have host.domain in /etc/hosts if the system has a permanent address, and the host.domain line should be for that address, not 127.0.1.1:
"""
For a system with a permanent IP address, that permanent IP address should be used here instead of 127.0.1.1.

For a system with a permanent IP address and a fully qualified domain name (FQDN) provided by the Domain Name System (DNS), that canonical <host_name>.<domain_name> should be used instead of just <host_name>.
"""

Now, is a dhcp lease a permanent address? :) I think it's permanent
enough for this scenario where MAAS is giving it out, as it even updates
the DNS record.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1087183

Title:
  MaaS cloud-init configuration specifies 'manage_etc_hosts: localhost'

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1087183/+subscriptions



More information about the Ubuntu-server-bugs mailing list