diff options
author | Radek Vykydal <rvykydal@redhat.com> | 2009-04-17 14:08:29 +0200 |
---|---|---|
committer | Radek Vykydal <rvykydal@redhat.com> | 2009-04-17 14:17:55 +0200 |
commit | f193e010b825fab040af0e6c367f9e2e5103a4b6 (patch) | |
tree | 65a75623345c5dd4a0b67c3cebea548cb8e0004c /kickstart.py | |
parent | 571e7b84531f035f6ed568254be90412c0252806 (diff) | |
download | anaconda-f193e010b825fab040af0e6c367f9e2e5103a4b6.tar.gz anaconda-f193e010b825fab040af0e6c367f9e2e5103a4b6.tar.xz anaconda-f193e010b825fab040af0e6c367f9e2e5103a4b6.zip |
Fix editing of raid device (persistence of level choice) (#496159)
I didn't want to add another 0/'0'/'RAID0' tweaking so I made
mdraid.raid_levels and mdraid deviceclass level attribute to contain
constants for levels defined in mdraid.py.
Diffstat (limited to 'kickstart.py')
-rw-r--r-- | kickstart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kickstart.py b/kickstart.py index 87f81f946..de0101785 100644 --- a/kickstart.py +++ b/kickstart.py @@ -750,7 +750,7 @@ class Raid(commands.raid.F9_Raid): raise KickstartValueError, formatErrorMsg(self.lineno, msg="The \"%s\" filesystem type is not supported." % type) kwargs["name"] = devicename - kwargs["level"] = rd.level.lower() + kwargs["level"] = rd.level kwargs["parents"] = raidmems kwargs["memberDevices"] = len(raidmems) kwargs["totalDevices"] = kwargs["memberDevices"]+rd.spares |