Use the new loader in moduleset
---
firstboot/moduleset.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/firstboot/moduleset.py b/firstboot/moduleset.py
index e356288..04860e6 100644
--- a/firstboot/moduleset.py
+++ b/firstboot/moduleset.py
@@ -107,8 +107,11 @@ class ModuleSet:
mode -- The mode of operation firstboot is running under.
"""
if self.path is not None:
- from firstboot.loader import loadModules
- self.moduleList = loadModules(self.path, mode)
+ # XXX
+ reconfig = True if mode == MODE_RECONFIG else False
+
+ from firstboot.loader import load_modules
+ self.moduleList = load_modules(self.path, reconfig)
def needsNetwork(self):
"""Does this module set require the network to be active in order to
--
1.7.3.2
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|