diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-02-07 20:25:30 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-02-07 20:25:30 +0000 |
commit | 5bd2c24d83025448000e8b56f8db8002013a9501 (patch) | |
tree | a351ea54a5de9870d80de869b5d693b5675ed5c5 /kickstart.py | |
parent | c7f2ba54e0956c597f48ce564764b9dcdb487d7d (diff) | |
download | anaconda-5bd2c24d83025448000e8b56f8db8002013a9501.tar.gz anaconda-5bd2c24d83025448000e8b56f8db8002013a9501.tar.xz anaconda-5bd2c24d83025448000e8b56f8db8002013a9501.zip |
stage2 of the partitioning.py cleanup
* move the following functions from partitioning.py -> raid.py
isRaid5, isRaid1, isRaid0, get_raid_min_members, get_raid_max_spares
* update other sources accordingly
Diffstat (limited to 'kickstart.py')
-rw-r--r-- | kickstart.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/kickstart.py b/kickstart.py index 24de479f0..c18b3fd3a 100644 --- a/kickstart.py +++ b/kickstart.py @@ -7,6 +7,7 @@ from autopart import * from fsset import * from flags import flags import sys +import raid import string class Script: @@ -647,11 +648,11 @@ class KickstartBase(BaseInstallClass): raidmems.append(self.ksRaidMapping[member]) # XXX this shouldn't have to happen =\ - if isRaid0(level): + if raid.isRaid0(level): level = "RAID0" - elif isRaid1(level): + elif raid.isRaid1(level): level = "RAID1" - elif isRaid5(level): + elif raid.isRaid5(level): level = "RAID5" if not level: |