diff options
Diffstat (limited to 'autopart.py')
-rw-r--r-- | autopart.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/autopart.py b/autopart.py index d1f36732e..56c063721 100644 --- a/autopart.py +++ b/autopart.py @@ -619,6 +619,11 @@ def setPreexistParts(diskset, requests, newParts): else: part.set_flag(parted.PARTITION_RAID, 0) + if request.fstype.getName() == "physical volume (LVM)": + part.set_flag(parted.PARTITION_LVM, 1) + else: + part.set_flag(parted.PARTITION_LVM, 0) + set_partition_file_system_type(part, request.fstype) break |