summaryrefslogtreecommitdiffstats
path: root/perl-install/network/network.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-14 07:35:07 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-14 07:35:07 +0000
commita1a03584ae73aece691aef507a43e1cffa668119 (patch)
tree8f8a8aada36c6129984f455608d3c881908590ae /perl-install/network/network.pm
parent87aae67e25fa2a19590f7e1ae35f0b299c47840c (diff)
downloaddrakx-a1a03584ae73aece691aef507a43e1cffa668119.tar
drakx-a1a03584ae73aece691aef507a43e1cffa668119.tar.gz
drakx-a1a03584ae73aece691aef507a43e1cffa668119.tar.bz2
drakx-a1a03584ae73aece691aef507a43e1cffa668119.tar.xz
drakx-a1a03584ae73aece691aef507a43e1cffa668119.zip
(configureNetwork2) configure eth aliases, needs modules_conf
Diffstat (limited to 'perl-install/network/network.pm')
-rw-r--r--perl-install/network/network.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index fdb0c12b1..a578e32f0 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -421,11 +421,12 @@ sub easy_dhcp {
#- $intf->{$device}{DEVICE} : DEVICE = $device
#- $intf->{$device}{BOOTPROTO} : boot prototype : "bootp" or "dhcp" or "pump" or ...
sub configureNetwork2 {
- my ($in, $_prefix, $netc, $intf) = @_;
+ my ($in, $modules_conf, $_prefix, $netc, $intf) = @_;
my $etc = "$::prefix/etc";
if (!$::testing) {
require network::ethernet;
network::ethernet::update_iftab();
+ network::ethernet::configure_eth_aliases($modules_conf);
$netc->{wireless_eth} and $in->do_pkgs->ensure_binary_is_installed('wireless-tools', 'iwconfig', 'auto');
write_conf("$etc/sysconfig/network", $netc);