diff options
author | Erik Troan <ewt@redhat.com> | 2000-04-19 23:09:26 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-04-19 23:09:26 +0000 |
commit | 720bab9828b91d769937b518de2b9378e407bf5d (patch) | |
tree | f9c005da87e651fd73842174293f99303bd95e11 /anaconda | |
parent | 12a30bbc32fff872333673beb9eb07df125d737a (diff) | |
download | anaconda-720bab9828b91d769937b518de2b9378e407bf5d.tar.gz anaconda-720bab9828b91d769937b518de2b9378e407bf5d.tar.xz anaconda-720bab9828b91d769937b518de2b9378e407bf5d.zip |
moved instantiation of kickstart up a bit
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -288,6 +288,14 @@ if not reconfigOnly: if reconfigOnly and method != None: print "Conflicting options: cannot reconfig and install simultaneously!\n" sys.exit(1) + +if kickstart: + instClass = Kickstart(kickstart, serial) +elif reconfigOnly: + instClass = ReconfigStation(expert) +else: + instClass = DefaultInstall(expert) + intf = InstallInterface() # set the default actions @@ -303,14 +311,6 @@ if test: if forceMount: setupFilesystems = 1 -if kickstart: - instClass = Kickstart(kickstart) - os.unlink(kickstart) -elif reconfigOnly: - instClass = ReconfigStation(expert) -else: - instClass = DefaultInstall(expert) - if lang: instClass.addToSkipList("language") instClass.setLanguage(lang) |