installer: ignore partitions that are part of LVM.
This commit is contained in:
parent
945dc94fe8
commit
9883c5eae6
@ -156,6 +156,7 @@ show_partitions() {
|
||||
fstype=$(lsblk -nfr /dev/$part|awk '{print $2}'|head -1)
|
||||
[ "$fstype" = "iso9660" ] && continue
|
||||
[ "$fstype" = "crypto_LUKS" ] && continue
|
||||
[ "$fstype" = "LVM2_member" ] && continue
|
||||
fssize=$(lsblk -nr /dev/$part|awk '{print $4}'|head -1)
|
||||
echo "/dev/$part"
|
||||
echo "size:${fssize:-unknown};fstype:${fstype:-none}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user