This adds logging the contents of the kickstart file, if present, to the traceback file. It also includes all of the command line options states. --- anaconda | 1 + pyanaconda/__init__.py | 1 + pyanaconda/exception.py | 3 +++ 3 files changed, 5 insertions(+), 0 deletions(-) diff --git a/anaconda b/anaconda index 8949b31..e369d64 100755 --- a/anaconda +++ b/anaconda @@ -527,6 +527,7 @@ if __name__ == "__main__": xserver_pid = None (opts, args) = parseOptions() + anaconda.opts = opts # check memory, just the text mode for now: check_memory(anaconda, opts, 't') diff --git a/pyanaconda/__init__.py b/pyanaconda/__init__.py index 1119d8a..b89d526 100644 --- a/pyanaconda/__init__.py +++ b/pyanaconda/__init__.py @@ -65,6 +65,7 @@ class Anaconda(object): self.mediaDevice = None self.methodstr = None self._network = None + self.opts = None self._platform = None self.proxy = None self.proxyUsername = None diff --git a/pyanaconda/exception.py b/pyanaconda/exception.py index 1075717..18fc43c 100644 --- a/pyanaconda/exception.py +++ b/pyanaconda/exception.py @@ -99,6 +99,9 @@ def initExceptionHandling(anaconda): else: fileList.extend(["/tmp/syslog"]) + if anaconda.opts and anaconda.opts.ksfile: + fileList.extend([anaconda.opts.ksfile]) + conf = Config(programName="anaconda", programVersion=isys.getAnacondaVersion(), attrSkipList=[ "backend.ayum", -- 1.7.1.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list