summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-10-05 21:53:19 +0000
committerJeremy Katz <katzj@redhat.com>2004-10-05 21:53:19 +0000
commit011f4d6173ef03e7cd7470cc32b43c149bc35c49 (patch)
treea2eb847c9d87e8d863b7149a7cf7f0bb6320b52e /kickstart.py
parentc94bce3853cda96169185b330061eb8d23d3bca5 (diff)
downloadanaconda-011f4d6173ef03e7cd7470cc32b43c149bc35c49.tar.gz
anaconda-011f4d6173ef03e7cd7470cc32b43c149bc35c49.tar.xz
anaconda-011f4d6173ef03e7cd7470cc32b43c149bc35c49.zip
2004-10-05 Jeremy Katz <katzj@redhat.com>
* kickstart.py (KickstartBase.readKickstart): Have to reset things when we enter a new scriptlet to break multiple scriptlet with different interpreters (#134707)
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/kickstart.py b/kickstart.py
index c00eff8b8..07167993c 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -752,6 +752,14 @@ class KickstartBase(BaseInstallClass):
where = args[0][1:]
args = isys.parseArgv(n)
+ script = ""
+ scriptInterp = "/bin/sh"
+ scriptLog = None
+ if where == "pre" or where == "traceback":
+ scriptChroot = 0
+ else:
+ scriptChroot = 1
+
argList = [ 'interpreter=' ]
if where == "post":
argList.append('nochroot')