This is used to prevent combinations of features that do not reduce to a valid raid level. --- pyanaconda/ui/gui/spokes/custom.py | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py index 9838e22..bd1088f 100644 --- a/pyanaconda/ui/gui/spokes/custom.py +++ b/pyanaconda/ui/gui/spokes/custom.py @@ -125,7 +125,11 @@ raid_level_features = {"raid0": ["Performance"], "single": []}
# disabled features by raid_level -raid_disabled_features = {"raid1": ["Error", "DistError", "RedundantError"]} +raid_disabled_features = {"raid1": ["Error", "DistError", "RedundantError"], + "raid10": ["Error", "DistError", "RedundantError"], + "raid4": ["Redundancy", "DistError", "RedundantError"], + "raid5": ["Redundancy", "Error", "RedundantError"], + "raid6": ["Redundancy", "Error", "DistError"]}
# reference raid level by feature name feature_raid_levels = {"Performance": "raid0",