[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

PATCH [1/2]: storage-branch: Do not create PV's in empty space of disks not selected for install



---
 storage/partitioning.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/partitioning.py b/storage/partitioning.py
index 17a1081..49b3659 100644
--- a/storage/partitioning.py
+++ b/storage/partitioning.py
@@ -58,7 +58,7 @@ def doAutoPartition(anaconda):
     # get a list of disks that have at least one free space region of at
     # least 100MB
     disks = []
-    for disk in anaconda.id.storage.disks:
+    for disk in [d for d in anaconda.id.storage.disks if d.name in anaconda.id.storage.clearPartDisks]:
         partedDisk = disk.partedDisk
         part = disk.partedDisk.getFirstPartition()
         while part:
--
1.6.1.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]