From 1a83ddeb22e2dd7ca88ebcf377686bec4fda72a0 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Mon, 30 Jun 2008 13:09:08 -0400 Subject: 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 --- anaconda | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'anaconda') 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, ":") -- cgit