From 3b1aa9e65ae46267fe056db7725662336e976edd Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 29 Jun 2009 13:40:13 +0000 Subject: bless $live->{oem_rescue}{media} --- lib/MDV/Draklive/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/MDV/Draklive') diff --git a/lib/MDV/Draklive/Config.pm b/lib/MDV/Draklive/Config.pm index 92e78af..3216c4d 100644 --- a/lib/MDV/Draklive/Config.pm +++ b/lib/MDV/Draklive/Config.pm @@ -77,7 +77,7 @@ sub complete_config { $live->{settings}{arch} ||= chomp_(`rpm --eval '%{_target_cpu}'`); $live->{media}{title} ||= "live"; - foreach ($live->{media}, if_($live->{replicator}{media}, $live->{replicator}{media})) { + foreach ($live->{media}, if_($live->{replicator}{media}, $live->{replicator}{media}), if_($live->{oem_rescue}{media}, $live->{oem_rescue}{media})) { bless $_, 'MDV::Draklive::Media'; $_->{partitions} ||= [ { mntpoint => '/' } ]; } -- cgit v1.2.1