summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-07-31 17:26:10 +0000
committerChris Lumens <clumens@redhat.com>2007-07-31 17:26:10 +0000
commit6fa89317d1470c80d1a36a1573210530239af639 (patch)
tree149ab330dfb081542967e5c095cbc41245dcc06a /kickstart.py
parent2527d7d3f7055a1177727482a3e326f426a00ba3 (diff)
downloadanaconda-6fa89317d1470c80d1a36a1573210530239af639.tar.gz
anaconda-6fa89317d1470c80d1a36a1573210530239af639.tar.xz
anaconda-6fa89317d1470c80d1a36a1573210530239af639.zip
Add an entry for the updates command.
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/kickstart.py b/kickstart.py
index b34b7d22f..c23bb7607 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -703,6 +703,7 @@ commandMap = {
"skipx": SkipX,
"text": commands.displaymode.FC3_DisplayMode,
"timezone": Timezone,
+ "updates": commands.updates.F7_Updates,
"upgrade": Upgrade,
"url": commands.method.FC6_Method,
"user": commands.user.F8_User,
@@ -1024,7 +1025,7 @@ def setSteps(anaconda):
dispatch.skipStep("betanag")
dispatch.skipStep("regkey")
dispatch.skipStep("installtype")
- dispatch.skipStep("tasksel")
+ dispatch.skipStep("tasksel")
dispatch.skipStep("network")
# Don't show confirmation screens on non-interactive installs.
@@ -1039,13 +1040,7 @@ 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")
-
- # 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 havePackages(ksdata.packages):
if interactive:
ksdata.showSteps.append("group-selection")
else: