Comment 0 for bug 1004108

Revision history for this message
Stéphane Graber (stgraber) wrote : /etc/hosts in conainer is missing the usual aliases

The /etc/hosts file created by the lxc-ubuntu template is missing some of the usual entries.

A standard /etc/hosts should look like this:
127.0.0.1 localhost
127.0.1.1 castiana castiana.lan.sherb.stgraber.net

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

But a standard /etc/hosts generated by LXC looks like:
127.0.0.1 localhost quantal