summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/kickstart.py b/kickstart.py
index 674ef804b..fec0e9360 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -55,7 +55,10 @@ class AnacondaKSScript(Script):
os.chmod(path, 0700)
if self.logfile is not None:
- messages = self.logfile
+ if self.inChroot:
+ messages = "%s/%s" % (scriptRoot, self.logfile)
+ else:
+ messages = self.logfile
elif serial:
messages = "%s.log" % path
else: