From: "Brian C. Lane" bcl@redhat.com
--- pyanaconda/ui/gui/spokes/custom.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py index 97391b5..2d784d1 100644 --- a/pyanaconda/ui/gui/spokes/custom.py +++ b/pyanaconda/ui/gui/spokes/custom.py @@ -781,7 +781,8 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker): @property def unusedDevices(self): unused_devices = [d for d in self.__storage.unusedDevices - if d.disks and not d.partitioned and d.isleaf] + if d.disks and d.mediaPresent and + not d.partitioned and d.isleaf] # add incomplete VGs and MDs incomplete = [d for d in self.__storage.devicetree._devices if not getattr(d, "complete", True)]