summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2008-06-30 13:09:08 -0400
committerJeremy Katz <katzj@redhat.com>2008-06-30 13:10:05 -0400
commit1a83ddeb22e2dd7ca88ebcf377686bec4fda72a0 (patch)
tree05d4faf9004b1ba2a942122d4d884c1b382c3561 /anaconda
parent539fc605f9402830860bf2276f6b790bceef6fc6 (diff)
downloadanaconda-1a83ddeb22e2dd7ca88ebcf377686bec4fda72a0.tar.gz
anaconda-1a83ddeb22e2dd7ca88ebcf377686bec4fda72a0.tar.xz
anaconda-1a83ddeb22e2dd7ca88ebcf377686bec4fda72a0.zip
Explicitly setup livecd install by passing --liveinst to anaconda
We don't do things based on the method string anymore, so explicitly specify that we're doing a livecd based install
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda5
1 files changed, 5 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index 3e825faf8..fdba3bba3 100755
--- a/anaconda
+++ b/anaconda
@@ -236,6 +236,8 @@ def parseOptions():
op.add_option("--repo", dest="method", default=None)
op.add_option("--stage2", dest="stage2", default=None)
+ op.add_option("--liveinst", action="store_true", default=False)
+
# Display
op.add_option("--headless", dest="isHeadless", action="store_true", default=False)
op.add_option("--lowres", dest="runres", action="store_const", const="640x480")
@@ -625,6 +627,9 @@ if __name__ == "__main__":
else:
anaconda.methodstr = None
+ if opts.liveinst:
+ flags.livecdInstall = True
+
if opts.module:
for mod in opts.module:
(path, name) = string.split(mod, ":")