summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-01-25 08:16:30 +0000
committerJeremy Katz <katzj@redhat.com>2002-01-25 08:16:30 +0000
commitbe5b687ba39eb7e8e8650384850e541df73c6cf0 (patch)
treeba08f1f6a88f9712db6ca18d035ca52091693c38 /autopart.py
parent1f43e5e7b546fe7cafca8163f62f51e504e07eb7 (diff)
downloadanaconda-be5b687ba39eb7e8e8650384850e541df73c6cf0.tar.gz
anaconda-be5b687ba39eb7e8e8650384850e541df73c6cf0.tar.xz
anaconda-be5b687ba39eb7e8e8650384850e541df73c6cf0.zip
we can actually create logical volumes now
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py5
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