diff options
-rwxr-xr-x | anaconda | 4 | ||||
-rw-r--r-- | pyanaconda/kickstart.py | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -849,6 +849,10 @@ if __name__ == "__main__": ksdata = kickstart.parseKickstart(anaconda, opts.ksfile) if ksdata.rescue.rescue: anaconda.rescue = True + + # Some kickstart commands must be executed immediately, as they affect + # how anaconda operates. + ksdata.logging.execute() else: ksdata = kickstart.AnacondaKSHandler(anaconda) diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py index 88e6ff4d0..4ecf9f532 100644 --- a/pyanaconda/kickstart.py +++ b/pyanaconda/kickstart.py @@ -643,7 +643,7 @@ class LogVolData(commands.logvol.F17_LogVolData): self.anaconda.dispatch.skip_steps("partition", "parttype") class Logging(commands.logging.FC6_Logging): - def execute(self): + def execute(self, *args): if logger.tty_loglevel == DEFAULT_TTY_LEVEL: # not set from the command line level = logLevelMap[self.level] |