summaryrefslogtreecommitdiffstats
path: root/pyanaconda/rescue.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2012-05-08 14:59:21 -0400
committerChris Lumens <clumens@redhat.com>2012-05-08 14:59:21 -0400
commit9f1f44f5a4801fc96a65f228a0d1f1c03ede9bcf (patch)
treea4e9b3fedbaad48ded7ce886136053d541ce37dc /pyanaconda/rescue.py
parentc0485cbbe870cb24adf037b3cdbcac1fd3d57586 (diff)
downloadanaconda-9f1f44f5a4801fc96a65f228a0d1f1c03ede9bcf.tar.gz
anaconda-9f1f44f5a4801fc96a65f228a0d1f1c03ede9bcf.tar.xz
anaconda-9f1f44f5a4801fc96a65f228a0d1f1c03ede9bcf.zip
Run kickstart %post scripts at the end of installation.
Certain portions of the install are now implemented as kickstart scripts, so they need to start being run.
Diffstat (limited to 'pyanaconda/rescue.py')
-rw-r--r--pyanaconda/rescue.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyanaconda/rescue.py b/pyanaconda/rescue.py
index 069835751..904b78e63 100644
--- a/pyanaconda/rescue.py
+++ b/pyanaconda/rescue.py
@@ -255,7 +255,7 @@ def doRescue(anaconda):
# NOTE: 1st script must be bash or simple python as nothing else might be available in the rescue image
if anaconda.ksdata and anaconda.ksdata.scripts:
from kickstart import runPostScripts
- runPostScripts(anaconda)
+ runPostScripts(anaconda.ksdata.scripts)
else:
runShell()
@@ -479,7 +479,7 @@ def doRescue(anaconda):
# run %post if we've mounted everything
if rootmounted and not readOnly and anaconda.ksdata:
from kickstart import runPostScripts
- runPostScripts(anaconda)
+ runPostScripts(anaconda.ksdata.scripts)
# start shell if reboot wasn't requested
if not anaconda.ksdata or \