From 38dc52cb450841b41a5b179005a6fbf18fb02330 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 24 Oct 2017 14:19:24 -0400 Subject: [PATCH] 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 --- fedora-atomic.ks | 9 --------- 1 file changed, 9 deletions(-) diff --git a/fedora-atomic.ks b/fedora-atomic.ks index 9125221..3051c14 100644 --- a/fedora-atomic.ks +++ b/fedora-atomic.ks @@ -98,15 +98,6 @@ TYPE="Ethernet" PERSISTENT_DHCLIENT="yes" 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, # and because this impedes forensics, we are differing from the Fedora # default of having /tmp on tmpfs.