moby--moby/libnetwork/etchosts
Tim Hockin 92af10a0fe Extract hostname from (hostname.domainname)
This approach allows the user to provide a FQDN as hostname if that is what
they want in their container, or to provide distinct host and domain parts.  In
both cases we will correctly extract the first token for /etc/hosts.

Signed-off-by: Tim Hockin <thockin@google.com>
2016-02-29 10:39:50 -08:00
..
etchosts.go Extract hostname from (hostname.domainname) 2016-02-29 10:39:50 -08:00
etchosts_test.go Extract hostname from (hostname.domainname) 2016-02-29 10:39:50 -08:00