summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-10-12 21:09:10 +0000
committerJeremy Katz <katzj@redhat.com>2004-10-12 21:09:10 +0000
commit88a560e19119637372e1abe3fe073189aa44b15d (patch)
tree0b6021789c9e815dfa835541b867cffefef520ef /autopart.py
parent4dfbb4fd4c82e22720eb8554ea84e14864762202 (diff)
downloadanaconda-88a560e19119637372e1abe3fe073189aa44b15d.tar.gz
anaconda-88a560e19119637372e1abe3fe073189aa44b15d.tar.xz
anaconda-88a560e19119637372e1abe3fe073189aa44b15d.zip
2004-10-12 Jeremy Katz <katzj@redhat.com>
* autopart.py (doAutoPartition): Be more certain we have one of "our" LVM partitions (#135440)
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/autopart.py b/autopart.py
index c4e782c9e..fecdd171e 100644
--- a/autopart.py
+++ b/autopart.py
@@ -1368,7 +1368,10 @@ def doAutoPartition(dir, diskset, partitions, intf, instClass, dispatch):
if d in partitions.autoClearPartDrives:
valid = 1
break
-
+
+ if not r.multidrive:
+ valid = 0
+
if valid:
req.physicalVolumes.append(r.uniqueID)
if (isinstance(req, partRequests.LogicalVolumeRequestSpec)):