diff options
author | Matt Wilson <msw@redhat.com> | 2001-07-16 23:43:30 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-07-16 23:43:30 +0000 |
commit | b359ed47aa6ee7562ccd77ca7f4aef492ec4859b (patch) | |
tree | 133d6f075dd73313f285f3ee6685c98d39365067 /kickstart.py | |
parent | 5416b2a0a73ddc2ea0845b96325268aedea673b9 (diff) | |
download | anaconda-b359ed47aa6ee7562ccd77ca7f4aef492ec4859b.tar.gz anaconda-b359ed47aa6ee7562ccd77ca7f4aef492ec4859b.tar.xz anaconda-b359ed47aa6ee7562ccd77ca7f4aef492ec4859b.zip |
autostep hack
Diffstat (limited to 'kickstart.py')
-rw-r--r-- | kickstart.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kickstart.py b/kickstart.py index e1310af39..b41f2494e 100644 --- a/kickstart.py +++ b/kickstart.py @@ -5,6 +5,7 @@ from installclass import BaseInstallClass from partitioning import * from autopart import * from fsset import * +from flags import flags import sys import string @@ -457,6 +458,9 @@ class KickstartBase(BaseInstallClass): def doInteractive(self, id, args): self.interactive = 1 + def doAutoStep(self, id, args): + flags.autostep = 1 + def readKickstart(self, id, file): handlers = { "auth" : self.doAuthconfig , @@ -492,6 +496,7 @@ class KickstartBase(BaseInstallClass): "xdisplay" : None , "zerombr" : self.doZeroMbr , "interactive" : self.doInteractive , + "autostep" : self.doAutoStep , } where = "commands" @@ -784,7 +789,7 @@ class KickstartBase(BaseInstallClass): def setSteps(self, dispatch): BaseInstallClass.setSteps(self, dispatch) - if self.interactive: + if self.interactive or flags.autostep: dispatch.skipStep("installtype") dispatch.skipStep("partitionmethod") dispatch.skipStep("partitionmethodsetup") |