From 7d1c7058bc1e22011c760123e8648b0edbb265f5 Mon Sep 17 00:00:00 2001 From: Olav Vitters Date: Tue, 15 Oct 2013 22:52:21 +0200 Subject: Do not add localhost to /etc/hosts as this is handled by nss-myhostname The myhostname NSS module (which is default in nsswitch.conf) handles this happily. --- perl-install/install/steps.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm index 8e0ce6bbe..58236da2e 100644 --- a/perl-install/install/steps.pm +++ b/perl-install/install/steps.pm @@ -369,9 +369,6 @@ sub beforeInstallPackages { #- some packages need such files for proper installation. install::any::write_fstab($o); - require network::network; - network::network::add2hosts("localhost", "127.0.0.1"); - #- resolv.conf will be modified at boot time #- the following will ensure we have a working DNS during install if (-e "/etc/resolv.conf" && ! -e "$::prefix/etc/resolv.conf") { -- cgit v1.2.1