summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2008-03-02 12:55:57 -0500
committerJeremy Katz <katzj@redhat.com>2008-03-02 12:55:57 -0500
commit1cc1db5d1511444d775b618fd624c9c352e4fda7 (patch)
tree1cf806ba1c09ef9b5ecd2b4beea7fa7a3ec2fbb6 /iw
parent484df106ac2b6271dff74ba92392249f9ade0823 (diff)
downloadanaconda-1cc1db5d1511444d775b618fd624c9c352e4fda7.tar.gz
anaconda-1cc1db5d1511444d775b618fd624c9c352e4fda7.tar.xz
anaconda-1cc1db5d1511444d775b618fd624c9c352e4fda7.zip
Default to RAID1 instead of RAID0 (#435579)
Diffstat (limited to 'iw')
-rw-r--r--iw/raid_dialog_gui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py
index b5465c5fc..1499d2298 100644
--- a/iw/raid_dialog_gui.py
+++ b/iw/raid_dialog_gui.py
@@ -76,6 +76,8 @@ class RaidEditor:
def createRaidLevelMenu(self, levels, reqlevel):
levelcombo = gtk.combo_box_new_text()
defindex = 0
+ if "RAID1" in levels:
+ defindex = levels.index("RAID1")
i = 0
for lev in levels:
levelcombo.append_text(lev)