atomic-host: Stop writing /etc/hosts, use setup defaults

The `setup` package has this same content, let's not duplicate it. The only
difference between them today is trailing whitespace in our version.

Just trying to reduce the amount of stuff we do here to avoid deltas with bare
metal installs, containers, etc.

Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
Colin Walters 2017-10-24 14:19:24 -04:00
parent c656ae6f78
commit 38dc52cb45

View File

@ -98,15 +98,6 @@ TYPE="Ethernet"
PERSISTENT_DHCLIENT="yes" PERSISTENT_DHCLIENT="yes"
EOF EOF
# generic localhost names
cat > /etc/hosts << EOF
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
EOF
echo .
# Because memory is scarce resource in most cloud/virt environments, # Because memory is scarce resource in most cloud/virt environments,
# and because this impedes forensics, we are differing from the Fedora # and because this impedes forensics, we are differing from the Fedora
# default of having /tmp on tmpfs. # default of having /tmp on tmpfs.