--- storage/__init__.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/storage/__init__.py b/storage/__init__.py index e8b7b52..bb0fbce 100644 --- a/storage/__init__.py +++ b/storage/__init__.py @@ -315,7 +315,10 @@ class Storage(object): """ disks = [] for device in self.devicetree.devices: - if isinstance(device, DiskDevice) and device.mediaPresent: + if isinstance(device, DiskDevice): + if not device.mediaPresent: + log.info("Skipping disk: %s: No media present" % device.name) + continue disks.append(device) disks.sort(key=lambda d: d.name) return disks -- 1.6.4.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list