summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-11 13:18:09 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-11 13:18:09 +0000
commit3a4d344290dc77157b59206af3f3ceb9071bb210 (patch)
tree41f9717ea1656bdae418ace2a7ec91b94e5d9692 /perl-install/install/any.pm
parent9be8aa0f732b2a99767df8a0eee8ebc9414d2b3b (diff)
downloaddrakx-backup-do-not-use-3a4d344290dc77157b59206af3f3ceb9071bb210.tar
drakx-backup-do-not-use-3a4d344290dc77157b59206af3f3ceb9071bb210.tar.gz
drakx-backup-do-not-use-3a4d344290dc77157b59206af3f3ceb9071bb210.tar.bz2
drakx-backup-do-not-use-3a4d344290dc77157b59206af3f3ceb9071bb210.tar.xz
drakx-backup-do-not-use-3a4d344290dc77157b59206af3f3ceb9071bb210.zip
(prep_net_suppl_media) fix network set up for adding network media if
not up by stage1 (aka DVD/CD case, mga#8282)
Diffstat (limited to 'perl-install/install/any.pm')
-rw-r--r--perl-install/install/any.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index d6949de07..f280506fc 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -155,6 +155,8 @@ sub prep_net_suppl_media {
#- install basesystem now
$o->do_pkgs->ensure_is_installed('basesystem', undef, 1);
+ # in case of no network install:
+ $o->{net} ||= {};
require network::netconnect;
network::netconnect::real_main($o->{net}, $o, $o->{modules_conf});
require install::interactive;