summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-24 12:39:00 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-24 12:39:00 +0000
commit29fd88d33aa2b48608099f261fdab58d45641bc2 (patch)
tree2511262b7e61caa796c43728f4a52f7f6af45564 /perl-install/install_steps.pm
parent27db784a894ab0675d47eb34dbc37af08bdec9df (diff)
downloaddrakx-29fd88d33aa2b48608099f261fdab58d45641bc2.tar
drakx-29fd88d33aa2b48608099f261fdab58d45641bc2.tar.gz
drakx-29fd88d33aa2b48608099f261fdab58d45641bc2.tar.bz2
drakx-29fd88d33aa2b48608099f261fdab58d45641bc2.tar.xz
drakx-29fd88d33aa2b48608099f261fdab58d45641bc2.zip
drop non-standard tld (localdomain)
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 96d367fe6..c5b32fd7c 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -385,7 +385,7 @@ sub beforeInstallPackages {
install_any::write_fstab($o);
require network::network;
- network::network::add2hosts("$o->{prefix}/etc/hosts", "localhost.localdomain", "127.0.0.1");
+ network::network::add2hosts("$o->{prefix}/etc/hosts", "localhost", "127.0.0.1");
log::l("setting excludedocs to $o->{excludedocs}");
substInFile { s/%_excludedocs.*//; $_ .= "%_excludedocs yes\n" if eof && $o->{excludedocs} } "$o->{prefix}/etc/rpm/macros";