This is needed to perform sanity checks on the values given to things like
clearpart --drives, as well as to add requests later on. Waiting until we're
into the dispatcher steps is too late.
---
kickstart.py | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
def processKickstartFile(anaconda, file):
- # make sure our disks are alive
- from partedUtils import DiskSet
- ds = DiskSet(anaconda)
+ # We need to make sure storage is active before the kickstart file is read.
+ import storage
+ storage.storageInitialize(anaconda)
+ anaconda.dispatch.skipStep("storageinit")
# parse the %pre
ksparser = KickstartPreParser(AnacondaKSHandler(anaconda))
--
1.6.1.3
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list