diff options
author | Erik Troan <ewt@redhat.com> | 1999-09-09 16:09:44 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1999-09-09 16:09:44 +0000 |
commit | c71e2378fa050757e8142c9a44b794281ed4bff1 (patch) | |
tree | d50610c1e97479e53764ce817cbf8e73f23187c2 /installclass.py | |
parent | ea17a078eeb14a6b844abbc2cad58706a6bf2631 (diff) | |
download | anaconda-c71e2378fa050757e8142c9a44b794281ed4bff1.tar.gz anaconda-c71e2378fa050757e8142c9a44b794281ed4bff1.tar.xz anaconda-c71e2378fa050757e8142c9a44b794281ed4bff1.zip |
run post scripts for kickstart
Diffstat (limited to 'installclass.py')
-rw-r--r-- | installclass.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/installclass.py b/installclass.py index ad2dc963c..b80af2e62 100644 --- a/installclass.py +++ b/installclass.py @@ -159,6 +159,10 @@ class InstallClass: def setKeyboard(self, kb): self.keyboard = kb + def setPostScript(self, postScript, inChroot = 1): + self.postScript = postScript + self.postInChroot = inChroot + def __init__(self): self.skipSteps = {} self.hostname = None @@ -186,6 +190,8 @@ class InstallClass: self.mouse = None self.x = None self.defaultRunlevel = None + self.postScript = None + self.postInChroot = 0 # custom installs are easy :-) class CustomInstall(InstallClass): |