From f93452c4ca9ac841a41c152f013c8fb960826f06 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 24 Aug 2004 12:40:58 +0000 Subject: i sux --- perl-install/network/network.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm index b2402413e..1bd0a2c72 100644 --- a/perl-install/network/network.pm +++ b/perl-install/network/network.pm @@ -420,7 +420,7 @@ sub configureNetwork2 { write_conf("$etc/sysconfig/network", $netc); write_resolv_conf("$etc/resolv.conf", $netc) if ! $netc->{DHCP}; write_interface_conf("$etc/sysconfig/network-scripts/ifcfg-$_->{DEVICE}", $_, $netc, $::prefix) foreach grep { $_->{DEVICE} ne 'ppp0' } values %$intf; - add2hosts("$etc/hosts", $netc->{HOSTNAME}, "127.0.0.1") if $netc->{HOSTNAME}); + add2hosts("$etc/hosts", $netc->{HOSTNAME}, "127.0.0.1") if $netc->{HOSTNAME}; add2hosts("$etc/hosts", "localhost", "127.0.0.1"); any { $_->{BOOTPROTO} eq "dhcp" } values %$intf and $in->do_pkgs->install($netc->{dhcp_client} || 'dhcp-client'); -- cgit v1.2.1