diff options
-rw-r--r-- | perl-install/install2.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 13e7cb581..56d6682cd 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -494,6 +494,8 @@ sub main { log::l("found network config file $file"); add2hash($o->{net}{resolv} ||= {}, network::network::read_resolv_conf($file)); } + $o->{net}{type} = 'lan'; + $o->{net}{net_interface} = first(values %{$o->{net}{ifcfg}}); } #- done after module dependencies are loaded for "vfat depends on fat" |