1
0
mirror of synced 2026-01-13 15:17:30 +00:00

Fix support for lvm_thin

Closes: #942244
This commit is contained in:
Andreas Sundstrom 2019-10-12 21:33:07 +02:00 committed by Axel Beckert
parent eab2940bf6
commit fe4a18edef

View File

@ -3224,12 +3224,11 @@ sub createLVMBits
# The commands to create the volume.
#
my $disk_cmd =
"lvcreate $CONFIG{'lvm'} ".
($lvm_needs_yes ? '--yes' : '').
' '.
"lvcreate ".
($lvm_needs_yes ? '--yes ' : '').
($CONFIG{ 'lvm_thin' } ?
"-T $CONFIG{'lvm'}/$CONFIG{'lvm_thin'} -V" :
'-L').
"$CONFIG{'lvm'} -L").
" $partition->{'size'} -n $disk";
#