summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install2.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index bde969d1e..c94cd1f6e 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -549,7 +549,8 @@ sub main {
require network;
#- get stage1 network configuration if any.
log::l('found /tmp/network');
- $o->{netc} ||= network::read_conf('/tmp/network');
+ $o->{netc} ||= {};
+ add2hash($o->{netc}, network::read_resolv_conf('/tmp/network'));
if (my ($file) = glob_('/tmp/ifcfg-*')) {
log::l("found network config file $file");
my $l = network::read_interface_conf($file);