Fix lvcreate awaiting user input when creating swap lv
This commit is contained in:
committed by
Axel Beckert
parent
e850ad7ab3
commit
58943d3b19
@@ -3025,7 +3025,7 @@ sub createLVMBits
|
||||
# The commands to create the volume.
|
||||
#
|
||||
my $disk_cmd =
|
||||
"lvcreate $CONFIG{'lvm'} -L $partition->{'size'} -n $disk";
|
||||
"lvcreate $CONFIG{'lvm'} --yes -L $partition->{'size'} -n $disk";
|
||||
|
||||
#
|
||||
# Create the volume
|
||||
|
||||
Reference in New Issue
Block a user