From 8b5789331a7eaf90f3d18cca2a80bbef5c0ee4fd Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 14 Sep 2005 21:37:53 +0000 Subject: write ethernet aliases (and iftab) on upgrade, so that eth1394 doesn't mess up interface ordering after install --- perl-install/install2.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'perl-install') 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 { -- cgit v1.2.1