diff options
author | Chris Lumens <clumens@redhat.com> | 2009-02-13 13:11:54 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-02-13 15:03:19 -0500 |
commit | 92be73ca672d5ba77aff08d60858cda12b395cf3 (patch) | |
tree | 71ebf7e8928e96158740797d79e776ac42221d70 /kickstart.py | |
parent | e2bd9ee34c03f4674b712c5ca08c3ec325c1a3f6 (diff) | |
download | anaconda-92be73ca672d5ba77aff08d60858cda12b395cf3.tar.gz anaconda-92be73ca672d5ba77aff08d60858cda12b395cf3.tar.xz anaconda-92be73ca672d5ba77aff08d60858cda12b395cf3.zip |
If we'd show package selection on kickstart installs, also show tasksel.
Diffstat (limited to 'kickstart.py')
-rw-r--r-- | kickstart.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/kickstart.py b/kickstart.py index 08f27e9a4..9a7099f25 100644 --- a/kickstart.py +++ b/kickstart.py @@ -1216,7 +1216,6 @@ def setSteps(anaconda): dispatch.skipStep("betanag") dispatch.skipStep("regkey") dispatch.skipStep("installtype") - dispatch.skipStep("tasksel") dispatch.skipStep("network") # Don't show confirmation screens on non-interactive installs. @@ -1232,22 +1231,21 @@ def setSteps(anaconda): # If the package section included anything, skip group selection unless # they're in interactive. if ksdata.upgrade.upgrade: - ksdata.skipSteps.append("group-selection") + ksdata.skipSteps.extend(["tasksel", "group-selection"]) # Special check for this, since it doesn't make any sense. if ksdata.packages.seen: warnings.warn("Ignoring contents of %packages section due to upgrade.") elif havePackages(ksdata.packages): if interactive: - ksdata.showSteps.append("group-selection") + ksdata.showSteps.extend(["tasksel", "group-selection"]) else: - ksdata.skipSteps.append("group-selection") + ksdata.skipSteps.extend(["tasksel", "group-selection"]) else: - ksdata.skipSteps.append("group-selection") if ksdata.packages.seen: - ksdata.skipSteps.append("group-selection") + ksdata.skipSteps.extend(["tasksel", "group-selection"]) else: - ksdata.showSteps.append("group-selection") + ksdata.showSteps.extend(["tasksel", "group-selection"]) if not interactive: for n in ksdata.skipSteps: |