summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm4
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;
}