summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2013-10-15 22:52:21 +0200
committerOlav Vitters <olav@vitters.nl>2013-10-15 22:52:21 +0200
commit7d1c7058bc1e22011c760123e8648b0edbb265f5 (patch)
treee25d44aa301e24382d3e65fe352fb34fc8065073 /perl-install
parent38d606b27c786a784db886215e17047d8f98d8f1 (diff)
downloaddrakx-7d1c7058bc1e22011c760123e8648b0edbb265f5.tar
drakx-7d1c7058bc1e22011c760123e8648b0edbb265f5.tar.gz
drakx-7d1c7058bc1e22011c760123e8648b0edbb265f5.tar.bz2
drakx-7d1c7058bc1e22011c760123e8648b0edbb265f5.tar.xz
drakx-7d1c7058bc1e22011c760123e8648b0edbb265f5.zip
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.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/steps.pm3
1 files changed, 0 insertions, 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") {