Commit 4501b541 authored by Mike Hibler's avatar Mike Hibler

Argh, forgot to qualify my findSpareDisk calls!

Do the testing Mike...
parent 8d00d9a0
......@@ -533,11 +533,11 @@ sub rootPreConfig($)
# Make sure pieces are at least 5 GiB.
#
my $minpsize = 5 * 1024;
my %devs = findSpareDisks($minpsize, $LVM_AVOIDSSD);
my %devs = libvnode::findSpareDisks($minpsize, $LVM_AVOIDSSD);
# if ignoring SSDs but came up with nothing, we have to use them!
if ($LVM_AVOIDSSD && keys(%devs) == 0) {
%devs = findSpareDisks($minpsize, 0);
%devs = libvnode::findSpareDisks($minpsize, 0);
}
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment