Verified Commit 21d9dbbd authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(fai) Do not forbid use of partitions from cryptsetup in lvm

issue #5821
Showing with 1 addition and 1 deletion
+1 -1
......@@ -532,7 +532,7 @@ class faiDiskEntry extends simplePlugin
foreach ($disk['partitions'] as $part) {
// Add disks of raid arrays, to the used list.
if (in_array($disk['FAIdiskType'], array('raid','cryptsetup'))) {
if ($disk['FAIdiskType'] == 'raid') {
foreach (explode(',', $part['FAIpartitionSize']) as $rDevice) {
$used[] = preg_replace('/:.*$/i', '', $rDevice);
}
......
Supports Markdown
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