summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm10
1 files changed, 8 insertions, 2 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 0b56615ea..fffc4b81d 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -789,8 +789,14 @@ sub configureNetwork {
require network::netconnect;
network::netconnect::real_main($o->{net}, $o, $o->{modules_conf});
} else {
- require network::network;
- network::network::easy_dhcp($o->{net}, $o->{modules_conf});
+ #- don't overwrite configuration in a network install
+ if (!install_any::is_network_install($o)) {
+ require network::network;
+ network::network::easy_dhcp($o->{net}, $o->{modules_conf});
+ } elsif ($o->{net}{type} eq 'adsl') {
+ require network::adsl;
+ network::adsl::adsl_conf_backend($o, $o->{modules_conf}, $o->{net});
+ }
$o->SUPER::configureNetwork;
}
}