summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-09-28 21:00:41 +0000
committerChris Lumens <clumens@redhat.com>2006-09-28 21:00:41 +0000
commit84b9fb1579638bfb7ac39112195fd99ef45b82c2 (patch)
tree70f8e8b7efbf95db7f08bf046326a8720760d54d /anaconda
parente2eb4a5773685837b793ca7fbb6e0754a6cbfbf7 (diff)
downloadanaconda-84b9fb1579638bfb7ac39112195fd99ef45b82c2.tar.gz
anaconda-84b9fb1579638bfb7ac39112195fd99ef45b82c2.tar.xz
anaconda-84b9fb1579638bfb7ac39112195fd99ef45b82c2.zip
Don't check the updates image source by default in the partitioning UI.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda5
1 files changed, 5 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index 05bd29e76..d41b29ec7 100755
--- a/anaconda
+++ b/anaconda
@@ -238,6 +238,7 @@ def parseOptions():
# Miscellaneous
op.add_option("--module", action="append", default=[])
op.add_option("--nomount", dest="rescue_nomount", action="store_true", default=False)
+ op.add_option("--updates", dest="updateSrc", action="store", type="string")
return op.parse_args()
@@ -503,6 +504,7 @@ class Anaconda:
self.isKickstart = False
self.rescue_mount = True
self.rescue = False
+ self.updateSrc = None
def setDispatch(self):
self.dispatch = dispatch.Dispatcher(self)
@@ -631,6 +633,9 @@ if __name__ == "__main__":
# Default is to prompt to mount the installed system.
anaconda.rescue_mount = not opts.rescue_nomount
+ if opts.updateSrc:
+ anaconda.updateSrc = opts.updateSrc
+
if opts.method:
anaconda.methodstr = opts.method