diff options
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |