When checking for mdraid BIOSRAID sets in isIgnored and finding one, update the exclusiveDisks entry, so that the correct name is present for other usage of exclusiveDisks (such as in cleardisks_gui.py). --- storage/devicetree.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/storage/devicetree.py b/storage/devicetree.py index ffc1c90..4fb4e6c 100644 --- a/storage/devicetree.py +++ b/storage/devicetree.py @@ -898,8 +898,9 @@ class DeviceTree(object): if udev_device_get_md_container(info) and \ udev_device_get_md_name(info): md_name = udev_device_get_md_name(info) - for disk in self.exclusiveDisks: - if re.match("isw_[a-z]*_%s" % md_name, disk): + for i in range(0, len(self.exclusiveDisks)): + if re.match("isw_[a-z]*_%s" % md_name, self.exclusiveDisks[i]): + self.exclusiveDisks[i] = name return False if udev_device_is_disk(info) and \ -- 1.6.5.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list