summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-02-02 13:57:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-02-02 13:57:35 +0000
commit18f52beb0fd7ac8ac0b5c51762ef33434177845a (patch)
treeaee7048ebe6e017e5ceadbf5c510436b43f77152
parentb178c8ecfb5232f455b3d986c735f53e24079672 (diff)
downloaddrakx-18f52beb0fd7ac8ac0b5c51762ef33434177845a.tar
drakx-18f52beb0fd7ac8ac0b5c51762ef33434177845a.tar.gz
drakx-18f52beb0fd7ac8ac0b5c51762ef33434177845a.tar.bz2
drakx-18f52beb0fd7ac8ac0b5c51762ef33434177845a.tar.xz
drakx-18f52beb0fd7ac8ac0b5c51762ef33434177845a.zip
fix reading stage1 network configuration
-rw-r--r--perl-install/install2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 4a7e53449..9777eee6d 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -443,7 +443,7 @@ sub main {
if (my ($file) = glob_('/tmp/ifcfg-*')) {
log::l("found network config file $file");
my $l = network::network::read_interface_conf($file);
- $o->{intf} ||= { $l->{DEVICE} => $l };
+ $o->{intf}{$l->{DEVICE}} ||= $l;
}
if (-e '/etc/resolv.conf') {
my $file = '/etc/resolv.conf';