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.pm7
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 1ad5d3e2a..96f2712f0 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -126,12 +126,7 @@ sub configureNetwork($) {
my @l = first(network::getNet());
@l = ($l[0]) unless $::expert; # keep only one
- foreach my $dev (@l) {
- my ($l) = grep { $_->{DEVICE} eq $dev } @{$o->{intf}};
-
- push @{$o->{intf}}, $l = { DEVICE => $dev } unless $l;
- $o->configureNetworkIntf($l);
- }
+ $o->configureNetworkIntf(network::findIntf($o->{intf}, $_)) foreach @l;
$o->configureNetworkNet($o->{netc} ||= {});
}
$o->SUPER::configureNetwork;