summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-14 21:37:53 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-14 21:37:53 +0000
commit8b5789331a7eaf90f3d18cca2a80bbef5c0ee4fd (patch)
tree03519ceec6854535efb2ef7c274824c17a66586e
parent3af350fa3fbb89feece5f9d36554736b762c688b (diff)
downloaddrakx-8b5789331a7eaf90f3d18cca2a80bbef5c0ee4fd.tar
drakx-8b5789331a7eaf90f3d18cca2a80bbef5c0ee4fd.tar.gz
drakx-8b5789331a7eaf90f3d18cca2a80bbef5c0ee4fd.tar.bz2
drakx-8b5789331a7eaf90f3d18cca2a80bbef5c0ee4fd.tar.xz
drakx-8b5789331a7eaf90f3d18cca2a80bbef5c0ee4fd.zip
write ethernet aliases (and iftab) on upgrade, so that eth1394 doesn't mess up interface ordering after install
-rw-r--r--perl-install/install2.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 7159beef3..259dc1e3b 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -255,7 +255,12 @@ sub configureNetwork {
#- get current configuration of network device.
require network::network;
eval { network::network::read_net_conf($o->{net}) };
- installStepsCall($o, $auto, 'configureNetwork') if !$o->{isUpgrade};
+ if (!$o->{isUpgrade}) {
+ installStepsCall($o, $auto, 'configureNetwork');
+ } else {
+ require network::ethernet;
+ network::ethernet::configure_eth_aliases($o->{modules_conf});
+ }
}
#------------------------------------------------------------------------------
sub installUpdates {