diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-05-04 18:31:12 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-05-04 18:31:12 +0000 |
commit | 4e096379cad750ecfdb7ddd78eeae899380a7696 (patch) | |
tree | d8d20a99442163647d9daac826478cb5695f4312 /perl-install/install_any.pm | |
parent | a653f2e1d6d6ff8ee49c647e747bdb5b549429c2 (diff) | |
download | drakx-backup-do-not-use-4e096379cad750ecfdb7ddd78eeae899380a7696.tar drakx-backup-do-not-use-4e096379cad750ecfdb7ddd78eeae899380a7696.tar.gz drakx-backup-do-not-use-4e096379cad750ecfdb7ddd78eeae899380a7696.tar.bz2 drakx-backup-do-not-use-4e096379cad750ecfdb7ddd78eeae899380a7696.tar.xz drakx-backup-do-not-use-4e096379cad750ecfdb7ddd78eeae899380a7696.zip |
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 11df7afe3..a9696327a 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -820,7 +820,7 @@ sub generate_ks_cfg { if ($o->{method} =~ /ftp|http/) { $ks .= "url --url $ENV{URLPREFIX}\n"; } elsif ($o->{method} =~ /nfs/) { - cat_("/proc/mounts") =~ m|(\S+:\S+)\s+/tmp/rhimage nfs| or die; + cat_("/proc/mounts") =~ m|(\S+):(\S+)\s+/tmp/rhimage nfs| or die; $ks .= "nfs --server $1 --dir $2\n"; } my %intf = %{$o->{intf}[0]}; @@ -829,7 +829,7 @@ sub generate_ks_cfg { } else { my %l = (ip => $intf{IPADDR}, netmask => $intf{NETMASK}, gateway => $o->{netc}{GATEWAY}); $ks .= "network " . join(" ", map_each { $::b && "--$::a $::b" } %l); - $ks .= "--nameserver $_" foreach network::dnsServers($o->{netc}); + $ks .= " --nameserver $_" foreach network::dnsServers($o->{netc}); $ks .= "\n"; } $ks; |