[anaconda][rhel7][PATCH] Show empty VGs in the custom spoke.

David Lehman dlehman at redhat.com
Fri Jan 23 18:34:33 UTC 2015


Related: rhbz#1167292
---
 pyanaconda/ui/gui/spokes/custom.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index b2e6d11..eb34b9a 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -936,7 +936,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
     def unusedDevices(self):
         unused_devices = [d for d in self.__storage.unusedDevices
                                 if d.disks and d.mediaPresent and
-                                not d.partitioned and d.direct]
+                                not d.partitioned and (d.direct or d.isleaf)]
         # add incomplete VGs and MDs
         incomplete = [d for d in self.__storage.devicetree._devices
                             if not getattr(d, "complete", True)]
-- 
1.9.3



More information about the anaconda-patches mailing list