diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-03-06 22:50:05 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-03-06 22:50:05 +0000 |
commit | e8c29581998c88c7ec255d5b02549815a722929d (patch) | |
tree | 9253a126686de78de69b591a415643b8e52756b8 | |
parent | d7ca396a84df9e0679200aca1121df92db9e84b1 (diff) | |
download | drakx-e8c29581998c88c7ec255d5b02549815a722929d.tar drakx-e8c29581998c88c7ec255d5b02549815a722929d.tar.gz drakx-e8c29581998c88c7ec255d5b02549815a722929d.tar.bz2 drakx-e8c29581998c88c7ec255d5b02549815a722929d.tar.xz drakx-e8c29581998c88c7ec255d5b02549815a722929d.zip |
fix save of automatic stage1 info for static network
-rw-r--r-- | perl-install/install_any.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 81a3f0c91..8147dd73c 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -609,8 +609,6 @@ sub loadO { sub generate_automatic_stage1_params { my ($o) = @_; - - return if $o->{method} =~ /hd|cdrom/; my $ks = "automatic="; @@ -635,7 +633,7 @@ sub generate_automatic_stage1_params { $ks .= "network:dhcp,"; } else { require network; - $ks .= "ip:$intf->{IPADDR},netmask:$intf->{NETMASK},gateway:$o->{netc}{GATEWAY},"; + $ks .= "network:static,ip:$intf->{IPADDR},netmask:$intf->{NETMASK},gateway:$o->{netc}{GATEWAY},"; my @dnss = network::dnsServers($o->{netc}); $ks .= "dns:$dnss[0]," if @dnss; } |