2016-03-18 23:30:48 +00:00
<!DOCTYPE html>
<!-- [if IE 8]><html class="no - js lt - ie9" lang="en" > <![endif] -->
<!-- [if gt IE 8]><! --> < html class = "no-js" lang = "en" > <!-- <![endif] -->
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
2018-03-15 21:07:05 +00:00
< title > pylorax.cmdline — Lorax 29.0 documentation< / title >
2016-03-18 23:30:48 +00:00
2017-11-28 17:18:51 +00:00
2016-03-18 23:30:48 +00:00
< link rel = "stylesheet" href = "../../_static/css/theme.css" type = "text/css" / >
2016-11-29 17:27:44 +00:00
< link rel = "index" title = "Index"
href="../../genindex.html"/>
< link rel = "search" title = "Search" href = "../../search.html" / >
2018-03-15 21:07:05 +00:00
< link rel = "top" title = "Lorax 29.0 documentation" href = "../../index.html" / >
2016-03-18 23:30:48 +00:00
< link rel = "up" title = "pylorax" href = "../pylorax.html" / >
< script src = "../../_static/js/modernizr.min.js" > < / script >
< / head >
< body class = "wy-body-for-nav" role = "document" >
2017-11-28 17:18:51 +00:00
2016-03-18 23:30:48 +00:00
< div class = "wy-grid-for-nav" >
< nav data-toggle = "wy-nav-shift" class = "wy-nav-side" >
< div class = "wy-side-scroll" >
< div class = "wy-side-nav-search" >
< a href = "../../index.html" class = "icon icon-home" > Lorax
< / a >
< div class = "version" >
2018-03-15 21:07:05 +00:00
29.0
2016-03-18 23:30:48 +00:00
< / div >
< div role = "search" >
< form id = "rtd-search-form" class = "wy-form" action = "../../search.html" method = "get" >
< input type = "text" name = "q" placeholder = "Search docs" / >
< input type = "hidden" name = "check_keywords" value = "yes" / >
< input type = "hidden" name = "area" value = "default" / >
< / form >
< / div >
< / div >
< div class = "wy-menu wy-menu-vertical" data-spy = "affix" role = "navigation" aria-label = "main navigation" >
2017-11-28 17:18:51 +00:00
< ul >
2016-03-18 23:30:48 +00:00
< li class = "toctree-l1" > < a class = "reference internal" href = "../../intro.html" > Introduction to Lorax< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../intro.html#before-lorax" > Before Lorax< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../lorax.html" > Lorax< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../livemedia-creator.html" > livemedia-creator< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../product-images.html" > Product and Updates Images< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "../../modules.html" > pylorax< / a > < / li >
< / ul >
< / div >
< / div >
< / nav >
< section data-toggle = "wy-nav-shift" class = "wy-nav-content-wrap" >
< nav class = "wy-nav-top" role = "navigation" aria-label = "top navigation" >
2017-11-28 17:18:51 +00:00
< i data-toggle = "wy-nav-top" class = "fa fa-bars" > < / i >
< a href = "../../index.html" > Lorax< / a >
2016-03-18 23:30:48 +00:00
< / nav >
< div class = "wy-nav-content" >
< div class = "rst-content" >
2017-11-28 17:18:51 +00:00
2016-03-18 23:30:48 +00:00
< div role = "navigation" aria-label = "breadcrumbs navigation" >
2017-11-28 17:18:51 +00:00
2016-03-18 23:30:48 +00:00
< ul class = "wy-breadcrumbs" >
2017-11-28 17:18:51 +00:00
< li > < a href = "../../index.html" > Docs< / a > » < / li >
2016-03-18 23:30:48 +00:00
< li > < a href = "../index.html" > Module code< / a > » < / li >
2017-11-28 17:18:51 +00:00
2016-03-18 23:30:48 +00:00
< li > < a href = "../pylorax.html" > pylorax< / a > » < / li >
2017-11-28 17:18:51 +00:00
< li > pylorax.cmdline< / li >
2016-03-18 23:30:48 +00:00
< li class = "wy-breadcrumbs-aside" >
2017-11-28 17:18:51 +00:00
2016-03-18 23:30:48 +00:00
< / li >
2017-11-28 17:18:51 +00:00
2016-03-18 23:30:48 +00:00
< / ul >
2017-11-28 17:18:51 +00:00
2016-03-18 23:30:48 +00:00
< hr / >
< / div >
< div role = "main" class = "document" itemscope = "itemscope" itemtype = "http://schema.org/Article" >
< div itemprop = "articleBody" >
< h1 > Source code for pylorax.cmdline< / h1 > < div class = "highlight" > < pre >
2016-05-23 23:55:51 +00:00
< span > < / span > < span class = "c1" > #< / span >
< span class = "c1" > # cmdline.py< / span >
< span class = "c1" > #< / span >
< span class = "c1" > # Copyright (C) 2016 Red Hat, Inc.< / span >
< span class = "c1" > #< / span >
< span class = "c1" > # This program is free software; you can redistribute it and/or modify< / span >
< span class = "c1" > # it under the terms of the GNU General Public License as published by< / span >
< span class = "c1" > # the Free Software Foundation; either version 2 of the License, or< / span >
< span class = "c1" > # (at your option) any later version.< / span >
< span class = "c1" > #< / span >
< span class = "c1" > # This program is distributed in the hope that it will be useful,< / span >
< span class = "c1" > # but WITHOUT ANY WARRANTY; without even the implied warranty of< / span >
< span class = "c1" > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the< / span >
< span class = "c1" > # GNU General Public License for more details.< / span >
< span class = "c1" > #< / span >
< span class = "c1" > # You should have received a copy of the GNU General Public License< / span >
< span class = "c1" > # along with this program. If not, see < http://www.gnu.org/licenses/> .< / span >
< span class = "c1" > #< / span >
< span class = "c1" > # Red Hat Author(s): Brian C. Lane < bcl@redhat.com> < / span >
2016-03-18 23:30:48 +00:00
< span class = "kn" > import< / span > < span class = "nn" > os< / span >
< span class = "kn" > import< / span > < span class = "nn" > sys< / span >
< span class = "kn" > import< / span > < span class = "nn" > argparse< / span >
2017-11-28 17:18:51 +00:00
< span class = "kn" > from< / span > < span class = "nn" > pylorax< / span > < span class = "k" > import< / span > < span class = "n" > vernum< / span >
2016-03-18 23:30:48 +00:00
2017-11-28 17:18:51 +00:00
< span class = "n" > version< / span > < span class = "o" > =< / span > < span class = "s2" > " < / span > < span class = "si" > {0}< / span > < span class = "s2" > -< / span > < span class = "si" > {1}< / span > < span class = "s2" > " < / span > < span class = "o" > .< / span > < span class = "n" > format< / span > < span class = "p" > (< / span > < span class = "n" > os< / span > < span class = "o" > .< / span > < span class = "n" > path< / span > < span class = "o" > .< / span > < span class = "n" > basename< / span > < span class = "p" > (< / span > < span class = "n" > sys< / span > < span class = "o" > .< / span > < span class = "n" > argv< / span > < span class = "p" > [< / span > < span class = "mi" > 0< / span > < span class = "p" > ]),< / span > < span class = "n" > vernum< / span > < span class = "p" > )< / span >
2016-05-23 23:55:51 +00:00
2017-11-28 17:18:51 +00:00
< div class = "viewcode-block" id = "lorax_parser" > < a class = "viewcode-back" href = "../../pylorax.html#pylorax.cmdline.lorax_parser" > [docs]< / a > < span class = "k" > def< / span > < span class = "nf" > lorax_parser< / span > < span class = "p" > ():< / span >
< span class = "sd" > " " " Return the ArgumentParser for lorax" " " < / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > parser< / span > < span class = "o" > =< / span > < span class = "n" > argparse< / span > < span class = "o" > .< / span > < span class = "n" > ArgumentParser< / span > < span class = "p" > (< / span > < span class = "n" > description< / span > < span class = "o" > =< / span > < span class = "s2" > " Create the Anaconda boot.iso" < / span > < span class = "p" > )< / span >
< span class = "c1" > # required arguments for image creation< / span >
< span class = "n" > required< / span > < span class = "o" > =< / span > < span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument_group< / span > < span class = "p" > (< / span > < span class = "s2" > " required arguments" < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > required< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " -p" < / span > < span class = "p" > ,< / span > < span class = "s2" > " --product" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " product name" < / span > < span class = "p" > ,< / span > < span class = "n" > required< / span > < span class = "o" > =< / span > < span class = "kc" > True< / span > < span class = "p" > ,< / span > < span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " PRODUCT" < / span > < span class = "p" > )< / span >
< span class = "n" > required< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " -v" < / span > < span class = "p" > ,< / span > < span class = "s2" > " --version" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " version identifier" < / span > < span class = "p" > ,< / span > < span class = "n" > required< / span > < span class = "o" > =< / span > < span class = "kc" > True< / span > < span class = "p" > ,< / span > < span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " VERSION" < / span > < span class = "p" > )< / span >
< span class = "n" > required< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " -r" < / span > < span class = "p" > ,< / span > < span class = "s2" > " --release" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " release information" < / span > < span class = "p" > ,< / span > < span class = "n" > required< / span > < span class = "o" > =< / span > < span class = "kc" > True< / span > < span class = "p" > ,< / span > < span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " RELEASE" < / span > < span class = "p" > )< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > required< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " -s" < / span > < span class = "p" > ,< / span > < span class = "s2" > " --source" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " source repository (may be listed multiple times)" < / span > < span class = "p" > ,< / span >
< span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " REPOSITORY" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "p" > [])< / span >
< span class = "n" > required< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --repo" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " source dnf repository file" < / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "n" > os< / span > < span class = "o" > .< / span > < span class = "n" > path< / span > < span class = "o" > .< / span > < span class = "n" > abspath< / span > < span class = "p" > ,< / span >
< span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " repos" < / span > < span class = "p" > ,< / span > < span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " REPOSITORY" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "p" > [])< / span >
< span class = "c1" > # optional arguments< / span >
< span class = "n" > optional< / span > < span class = "o" > =< / span > < span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument_group< / span > < span class = "p" > (< / span > < span class = "s2" > " optional arguments" < / span > < span class = "p" > )< / span >
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " -m" < / span > < span class = "p" > ,< / span > < span class = "s2" > " --mirrorlist" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " mirrorlist repository (may be listed multiple times)" < / span > < span class = "p" > ,< / span >
< span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " REPOSITORY" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "p" > [])< / span >
2018-03-15 21:07:05 +00:00
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " -t" < / span > < span class = "p" > ,< / span > < span class = "s2" > " --variant" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "s2" > " " < / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " variant name" < / span > < span class = "p" > ,< / span > < span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " VARIANT" < / span > < span class = "p" > )< / span >
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " -b" < / span > < span class = "p" > ,< / span > < span class = "s2" > " --bugurl" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " bug reporting URL for the product" < / span > < span class = "p" > ,< / span > < span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " URL" < / span > < span class = "p" > ,< / span >
< span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "s2" > " your distribution provided bug reporting tool" < / span > < span class = "p" > )< / span >
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --isfinal" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " " < / span > < span class = "p" > ,< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > False< / span > < span class = "p" > ,< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " isfinal" < / span > < span class = "p" > )< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " -c" < / span > < span class = "p" > ,< / span > < span class = "s2" > " --config" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "s2" > " /etc/lorax/lorax.conf" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " config file" < / span > < span class = "p" > ,< / span > < span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " CONFIGFILE" < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --proxy" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " repo proxy url:port" < / span > < span class = "p" > ,< / span > < span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " HOST" < / span > < span class = "p" > )< / span >
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " -i" < / span > < span class = "p" > ,< / span > < span class = "s2" > " --installpkgs" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "p" > [],< / span >
< span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " PACKAGE" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " package glob to install before runtime-install.tmpl runs. (may be listed multiple times)" < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " -e" < / span > < span class = "p" > ,< / span > < span class = "s2" > " --excludepkgs" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "p" > [],< / span >
< span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " PACKAGE" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " package glob to remove before runtime-install.tmpl runs. (may be listed multiple times)" < / span > < span class = "p" > )< / span >
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --buildarch" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " build architecture" < / span > < span class = "p" > ,< / span > < span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " ARCH" < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --volid" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " volume id" < / span > < span class = "p" > ,< / span > < span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " VOLID" < / span > < span class = "p" > )< / span >
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --macboot" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " " < / span > < span class = "p" > ,< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > True< / span > < span class = "p" > ,< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " domacboot" < / span > < span class = "p" > )< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --nomacboot" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " " < / span > < span class = "p" > ,< / span >
< span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_false" < / span > < span class = "p" > ,< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " domacboot" < / span > < span class = "p" > )< / span >
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --noupgrade" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " " < / span > < span class = "p" > ,< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_false" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > True< / span > < span class = "p" > ,< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " doupgrade" < / span > < span class = "p" > )< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --logfile" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "s2" > " ./lorax.log" < / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "n" > os< / span > < span class = "o" > .< / span > < span class = "n" > path< / span > < span class = "o" > .< / span > < span class = "n" > abspath< / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Path to logfile" < / span > < span class = "p" > )< / span >
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --tmp" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "s2" > " /var/tmp" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Top level temporary directory" < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --cachedir" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "n" > os< / span > < span class = "o" > .< / span > < span class = "n" > path< / span > < span class = "o" > .< / span > < span class = "n" > abspath< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " DNF cache directory. Default is a temporary dir." < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --workdir" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "n" > os< / span > < span class = "o" > .< / span > < span class = "n" > path< / span > < span class = "o" > .< / span > < span class = "n" > abspath< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Work directory, overrides --tmp. Default is a temporary dir under /var/tmp" < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --force" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > False< / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Run even when the destination directory exists" < / span > < span class = "p" > )< / span >
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --add-template" < / span > < span class = "p" > ,< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " add_templates" < / span > < span class = "p" > ,< / span >
< span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Additional template for runtime image" < / span > < span class = "p" > ,< / span >
2016-03-18 23:30:48 +00:00
< span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "p" > [])< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --add-template-var" < / span > < span class = "p" > ,< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " add_template_vars" < / span > < span class = "p" > ,< / span >
< span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Set variable for runtime image template" < / span > < span class = "p" > ,< / span >
2016-03-18 23:30:48 +00:00
< span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "p" > [])< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --add-arch-template" < / span > < span class = "p" > ,< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " add_arch_templates" < / span > < span class = "p" > ,< / span >
< span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Additional template for architecture-specific image" < / span > < span class = "p" > ,< / span >
2016-03-18 23:30:48 +00:00
< span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "p" > [])< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --add-arch-template-var" < / span > < span class = "p" > ,< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " add_arch_template_vars" < / span > < span class = "p" > ,< / span >
< span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Set variable for architecture-specific image" < / span > < span class = "p" > ,< / span >
2016-03-18 23:30:48 +00:00
< span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "p" > [])< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --noverify" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_false" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > True< / span > < span class = "p" > ,< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " verify" < / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Do not verify the install root" < / span > < span class = "p" > )< / span >
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --sharedir" < / span > < span class = "p" > ,< / span > < span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " SHAREDIR" < / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "n" > os< / span > < span class = "o" > .< / span > < span class = "n" > path< / span > < span class = "o" > .< / span > < span class = "n" > abspath< / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Directory containing all the templates. Overrides config file sharedir" < / span > < span class = "p" > )< / span >
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --enablerepo" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "p" > [],< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " enablerepos" < / span > < span class = "p" > ,< / span >
< span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " [repo]" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Names of repos to enable" < / span > < span class = "p" > )< / span >
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --disablerepo" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "p" > [],< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " disablerepos" < / span > < span class = "p" > ,< / span >
< span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " [repo]" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Names of repos to disable" < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --rootfs-size" < / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "nb" > int< / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "mi" > 2< / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Size of root filesystem in GiB. Defaults to 2." < / span > < span class = "p" > )< / span >
2017-11-28 17:18:51 +00:00
< span class = "n" > optional< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --noverifyssl" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > False< / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Do not verify SSL certificates" < / span > < span class = "p" > )< / span >
2016-03-18 23:30:48 +00:00
2016-05-23 23:55:51 +00:00
< span class = "c1" > # add the show version option< / span >
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " -V" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " show program' s version number and exit" < / span > < span class = "p" > ,< / span >
< span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " version" < / span > < span class = "p" > ,< / span > < span class = "n" > version< / span > < span class = "o" > =< / span > < span class = "n" > version< / span > < span class = "p" > )< / span >
2016-03-18 23:30:48 +00:00
2016-05-23 23:55:51 +00:00
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " outputdir" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Output directory" < / span > < span class = "p" > ,< / span > < span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " OUTPUTDIR" < / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "n" > os< / span > < span class = "o" > .< / span > < span class = "n" > path< / span > < span class = "o" > .< / span > < span class = "n" > abspath< / span > < span class = "p" > )< / span >
2016-03-18 23:30:48 +00:00
2016-11-29 17:27:44 +00:00
< span class = "k" > return< / span > < span class = "n" > parser< / span > < / div >
2016-03-18 23:30:48 +00:00
2016-05-23 23:55:51 +00:00
< div class = "viewcode-block" id = "lmc_parser" > < a class = "viewcode-back" href = "../../pylorax.html#pylorax.cmdline.lmc_parser" > [docs]< / a > < span class = "k" > def< / span > < span class = "nf" > lmc_parser< / span > < span class = "p" > (< / span > < span class = "n" > dracut_default< / span > < span class = "o" > =< / span > < span class = "s2" > " " < / span > < span class = "p" > ):< / span >
2016-03-18 23:30:48 +00:00
< span class = "sd" > " " " Return a ArgumentParser object for live-media-creator." " " < / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > parser< / span > < span class = "o" > =< / span > < span class = "n" > argparse< / span > < span class = "o" > .< / span > < span class = "n" > ArgumentParser< / span > < span class = "p" > (< / span > < span class = "n" > description< / span > < span class = "o" > =< / span > < span class = "s2" > " Create Live Install Media" < / span > < span class = "p" > ,< / span >
< span class = "n" > fromfile_prefix_chars< / span > < span class = "o" > =< / span > < span class = "s2" > " @" < / span > < span class = "p" > )< / span >
2016-03-18 23:30:48 +00:00
2016-05-23 23:55:51 +00:00
< span class = "c1" > # These are mutually exclusive, one is required< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_mutually_exclusive_group< / span > < span class = "p" > (< / span > < span class = "n" > required< / span > < span class = "o" > =< / span > < span class = "kc" > True< / span > < span class = "p" > )< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > action< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --make-iso" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Build a live iso" < / span > < span class = "p" > )< / span >
< span class = "n" > action< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --make-disk" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Build a partitioned disk image" < / span > < span class = "p" > )< / span >
< span class = "n" > action< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --make-fsimage" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Build a filesystem image" < / span > < span class = "p" > )< / span >
< span class = "n" > action< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --make-appliance" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Build an appliance image and XML description" < / span > < span class = "p" > )< / span >
< span class = "n" > action< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --make-ami" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Build an ami image" < / span > < span class = "p" > )< / span >
< span class = "n" > action< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --make-tar" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Build a tar of the root filesystem" < / span > < span class = "p" > )< / span >
< span class = "n" > action< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --make-pxe-live" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Build a live pxe boot squashfs image" < / span > < span class = "p" > )< / span >
< span class = "n" > action< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --make-ostree-live" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Build a live pxe boot squashfs image of Atomic Host" < / span > < span class = "p" > )< / span >
< span class = "n" > action< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --make-oci" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Build an Open Container Initiative image" < / span > < span class = "p" > )< / span >
< span class = "n" > action< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --make-vagrant" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Build a Vagrant Box image" < / span > < span class = "p" > )< / span >
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --iso" < / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "n" > os< / span > < span class = "o" > .< / span > < span class = "n" > path< / span > < span class = "o" > .< / span > < span class = "n" > abspath< / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Anaconda installation .iso path to use for qemu" < / span > < span class = "p" > )< / span >
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --iso-only" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Remove all iso creation artifacts except the boot.iso, " < / span >
< span class = "s2" > " combine with --iso-name to rename the boot.iso" < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --iso-name" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Name of output iso file for --iso-only. Default is boot.iso" < / span > < span class = "p" > )< / span >
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --ks" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "n" > os< / span > < span class = "o" > .< / span > < span class = "n" > path< / span > < span class = "o" > .< / span > < span class = "n" > abspath< / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Kickstart file defining the install." < / span > < span class = "p" > )< / span >
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --image-only" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Exit after creating fs/disk image." < / span > < span class = "p" > )< / span >
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --no-virt" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Run anaconda directly on host instead of using qemu" < / span > < span class = "p" > )< / span >
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --proxy" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " proxy URL to use for the install" < / span > < span class = "p" > )< / span >
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --anaconda-arg" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " anaconda_args" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Additional argument to pass to anaconda (no-virt " < / span >
< span class = "s2" > " mode). Pass once for each argument" < / span > < span class = "p" > )< / span >
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --armplatform" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " the platform to use when creating images for ARM, " < / span >
< span class = "s2" > " i.e., highbank, mvebu, omap, tegra, etc." < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --location" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "n" > os< / span > < span class = "o" > .< / span > < span class = "n" > path< / span > < span class = "o" > .< / span > < span class = "n" > abspath< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " location of iso directory tree with initrd.img " < / span >
< span class = "s2" > " and vmlinuz. Used to run qemu with a newer initrd " < / span >
< span class = "s2" > " than the iso." < / span > < span class = "p" > )< / span >
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --logfile" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "s2" > " ./livemedia.log" < / span > < span class = "p" > ,< / span >
2016-03-18 23:30:48 +00:00
< span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "n" > os< / span > < span class = "o" > .< / span > < span class = "n" > path< / span > < span class = "o" > .< / span > < span class = "n" > abspath< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Name and path for primary logfile, other logs will " < / span >
< span class = "s2" > " be created in the same directory." < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --lorax-templates" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span >
2016-03-18 23:30:48 +00:00
< span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "n" > os< / span > < span class = "o" > .< / span > < span class = "n" > path< / span > < span class = "o" > .< / span > < span class = "n" > abspath< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Path to mako templates for lorax" < / span > < span class = "p" > )< / span >
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --tmp" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "s2" > " /var/tmp" < / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "n" > os< / span > < span class = "o" > .< / span > < span class = "n" > path< / span > < span class = "o" > .< / span > < span class = "n" > abspath< / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Top level temporary directory" < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --resultdir" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " result_dir" < / span > < span class = "p" > ,< / span >
2016-03-18 23:30:48 +00:00
< span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "n" > os< / span > < span class = "o" > .< / span > < span class = "n" > path< / span > < span class = "o" > .< / span > < span class = "n" > abspath< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Directory to copy the resulting images and iso into. " < / span >
< span class = "s2" > " Defaults to the temporary working directory" < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --macboot" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > True< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " domacboot" < / span > < span class = "p" > )< / span >
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --nomacboot" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_false" < / span > < span class = "p" > ,< / span >
< span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " domacboot" < / span > < span class = "p" > )< / span >
< span class = "n" > image_group< / span > < span class = "o" > =< / span > < span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument_group< / span > < span class = "p" > (< / span > < span class = "s2" > " disk/fs image arguments" < / span > < span class = "p" > )< / span >
< span class = "n" > image_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --disk-image" < / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "n" > os< / span > < span class = "o" > .< / span > < span class = "n" > path< / span > < span class = "o" > .< / span > < span class = "n" > abspath< / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Path to existing disk image to use for creating final image." < / span > < span class = "p" > )< / span >
< span class = "n" > image_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --keep-image" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Keep raw disk image after .iso creation" < / span > < span class = "p" > )< / span >
< span class = "n" > image_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --fs-image" < / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "n" > os< / span > < span class = "o" > .< / span > < span class = "n" > path< / span > < span class = "o" > .< / span > < span class = "n" > abspath< / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Path to existing filesystem image to use for creating final image." < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > image_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --image-name" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Name of output file to create. Used for tar, fs and disk image. Default is a random name." < / span > < span class = "p" > )< / span >
< span class = "n" > image_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --fs-label" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "s2" > " Anaconda" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Label to set on fsimage, default is ' Anaconda' " < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > image_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --image-type" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Create an image with qemu-img. See qemu-img --help for supported formats." < / span > < span class = "p" > )< / span >
< span class = "n" > image_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --qemu-arg" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " qemu_args" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "p" > [],< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Arguments to pass to qemu-img. Pass once for each argument, they will be used for ALL calls to qemu-img." < / span > < span class = "p" > )< / span >
< span class = "n" > image_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --qcow2" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Create qcow2 image instead of raw sparse image when making disk images." < / span > < span class = "p" > )< / span >
< span class = "n" > image_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --qcow2-arg" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " qemu_args" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "p" > [],< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Arguments to pass to qemu-img. Pass once for each argument, they will be used for ALL calls to qemu-img." < / span > < span class = "p" > )< / span >
< span class = "n" > image_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --compression" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "s2" > " xz" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Compression binary for make-tar. xz, lzma, gzip, and bzip2 are supported. xz is the default." < / span > < span class = "p" > )< / span >
< span class = "n" > image_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --compress-arg" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " compress_args" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "p" > [],< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Arguments to pass to compression. Pass once for each argument" < / span > < span class = "p" > )< / span >
< span class = "c1" > # Group of arguments for appliance creation< / span >
< span class = "n" > app_group< / span > < span class = "o" > =< / span > < span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument_group< / span > < span class = "p" > (< / span > < span class = "s2" > " appliance arguments" < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > app_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --app-name" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Name of appliance to pass to template" < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > app_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --app-template" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Path to template to use for appliance data." < / span > < span class = "p" > )< / span >
< span class = "n" > app_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --app-file" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "s2" > " appliance.xml" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Appliance template results file." < / span > < span class = "p" > )< / span >
< span class = "c1" > # Group of arguments to pass to qemu< / span >
< span class = "n" > virt_group< / span > < span class = "o" > =< / span > < span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument_group< / span > < span class = "p" > (< / span > < span class = "s2" > " qemu arguments" < / span > < span class = "p" > )< / span >
< span class = "n" > virt_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --ram" < / span > < span class = "p" > ,< / span > < span class = "n" > metavar< / span > < span class = "o" > =< / span > < span class = "s2" > " MEMORY" < / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "nb" > int< / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "mi" > 1024< / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Memory to allocate for installer in megabytes." < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > virt_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --vcpus" < / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "nb" > int< / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Passed to qemu -smp command" < / span > < span class = "p" > )< / span >
< span class = "n" > virt_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --vnc" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Passed to qemu -display command. eg. vnc=127.0.0.1:5, default is to " < / span >
< span class = "s2" > " choose the first unused vnc port." < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > virt_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --arch" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " System arch to build for. Used to select qemu-system-* command. " < / span >
< span class = "s2" > " Defaults to qemu-system-< arch> " < / span > < span class = "p" > )< / span >
< span class = "n" > virt_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --kernel-args" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Additional argument to pass to the installation kernel" < / span > < span class = "p" > )< / span >
< span class = "n" > virt_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --ovmf-path" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "s2" > " /usr/share/edk2/ovmf/" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Path to OVMF firmware" < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > virt_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --virt-uefi" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > False< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Use OVMF firmware to boot the VM in UEFI mode" < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > virt_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --no-kvm" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > False< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Skip using kvm with qemu even if it is available." < / span > < span class = "p" > )< / span >
2018-03-15 21:07:05 +00:00
< span class = "n" > virt_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --with-rng" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "s2" > " /dev/random" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " RNG device for QEMU (none for no RNG)" < / span > < span class = "p" > )< / span >
2016-05-23 23:55:51 +00:00
< span class = "c1" > # dracut arguments< / span >
< span class = "n" > dracut_group< / span > < span class = "o" > =< / span > < span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument_group< / span > < span class = "p" > (< / span > < span class = "s2" > " dracut arguments" < / span > < span class = "p" > )< / span >
< span class = "n" > dracut_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --dracut-arg" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " append" < / span > < span class = "p" > ,< / span > < span class = "n" > dest< / span > < span class = "o" > =< / span > < span class = "s2" > " dracut_args" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Argument to pass to dracut when " < / span >
< span class = "s2" > " rebuilding the initramfs. Pass this " < / span >
< span class = "s2" > " once for each argument. NOTE: this " < / span >
< span class = "s2" > " overrides the default. (default: < / span > < span class = "si" > %s< / span > < span class = "s2" > )" < / span > < span class = "o" > %< / span > < span class = "n" > dracut_default< / span > < span class = "p" > )< / span >
< span class = "c1" > # pxe to live arguments< / span >
< span class = "n" > pxelive_group< / span > < span class = "o" > =< / span > < span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument_group< / span > < span class = "p" > (< / span > < span class = "s2" > " pxe to live arguments" < / span > < span class = "p" > )< / span >
< span class = "n" > pxelive_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --live-rootfs-size" < / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "nb" > int< / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "mi" > 0< / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Size of root filesystem of live image in GiB" < / span > < span class = "p" > )< / span >
< span class = "n" > pxelive_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --live-rootfs-keep-size" < / span > < span class = "p" > ,< / span > < span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " store_true" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Keep the original size of root filesystem in live image" < / span > < span class = "p" > )< / span >
< span class = "c1" > # OCI specific commands< / span >
< span class = "n" > oci_group< / span > < span class = "o" > =< / span > < span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument_group< / span > < span class = "p" > (< / span > < span class = "s2" > " OCI arguments" < / span > < span class = "p" > )< / span >
< span class = "n" > oci_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --oci-config" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " config.json OCI configuration file" < / span > < span class = "p" > )< / span >
< span class = "n" > oci_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --oci-runtime" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " runtime.json OCI configuration file" < / span > < span class = "p" > )< / span >
< span class = "c1" > # Vagrant specific commands< / span >
< span class = "n" > vagrant_group< / span > < span class = "o" > =< / span > < span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument_group< / span > < span class = "p" > (< / span > < span class = "s2" > " Vagrant arguments" < / span > < span class = "p" > )< / span >
< span class = "n" > vagrant_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --vagrant-metadata" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " optional metadata.json file" < / span > < span class = "p" > )< / span >
< span class = "n" > vagrant_group< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --vagrantfile" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " optional vagrantfile" < / span > < span class = "p" > )< / span >
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --title" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "s2" > " Linux Live Media" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Substituted for @TITLE@ in bootloader config files" < / span > < span class = "p" > )< / span >
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --project" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "s2" > " Linux" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " substituted for @PROJECT@ in bootloader config files" < / span > < span class = "p" > )< / span >
2018-03-15 21:07:05 +00:00
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --releasever" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "s2" > " 29" < / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " substituted for @VERSION@ in bootloader config files" < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --volid" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " volume id" < / span > < span class = "p" > )< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --squashfs_args" < / span > < span class = "p" > ,< / span >
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " additional squashfs args" < / span > < span class = "p" > )< / span >
2016-11-29 17:27:44 +00:00
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " --timeout" < / span > < span class = "p" > ,< / span > < span class = "n" > default< / span > < span class = "o" > =< / span > < span class = "kc" > None< / span > < span class = "p" > ,< / span > < span class = "nb" > type< / span > < span class = "o" > =< / span > < span class = "nb" > int< / span > < span class = "p" > ,< / span >
2016-05-23 23:55:51 +00:00
< span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " Cancel installer after X minutes" < / span > < span class = "p" > )< / span >
2016-03-18 23:30:48 +00:00
2017-11-28 17:18:51 +00:00
< span class = "c1" > # add the show version option< / span >
< span class = "n" > parser< / span > < span class = "o" > .< / span > < span class = "n" > add_argument< / span > < span class = "p" > (< / span > < span class = "s2" > " -V" < / span > < span class = "p" > ,< / span > < span class = "n" > help< / span > < span class = "o" > =< / span > < span class = "s2" > " show program' s version number and exit" < / span > < span class = "p" > ,< / span >
< span class = "n" > action< / span > < span class = "o" > =< / span > < span class = "s2" > " version" < / span > < span class = "p" > ,< / span > < span class = "n" > version< / span > < span class = "o" > =< / span > < span class = "n" > version< / span > < span class = "p" > )< / span >
2016-03-18 23:30:48 +00:00
< span class = "k" > return< / span > < span class = "n" > parser< / span > < / div >
< / pre > < / div >
2017-11-28 17:18:51 +00:00
< / div >
< div class = "articleComments" >
2016-03-18 23:30:48 +00:00
< / div >
< / div >
< footer >
< hr / >
< div role = "contentinfo" >
< p >
2018-03-15 21:07:05 +00:00
© Copyright 2018, Red Hat, Inc..
2016-03-18 23:30:48 +00:00
< / p >
< / div >
Built with < a href = "http://sphinx-doc.org/" > Sphinx< / a > using a < a href = "https://github.com/snide/sphinx_rtd_theme" > theme< / a > provided by < a href = "https://readthedocs.org" > Read the Docs< / a > .
< / footer >
< / div >
< / div >
< / section >
< / div >
< script type = "text/javascript" >
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../../',
2018-03-15 21:07:05 +00:00
VERSION:'29.0',
2016-03-18 23:30:48 +00:00
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
2017-11-28 17:18:51 +00:00
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
2016-03-18 23:30:48 +00:00
};
< / script >
< script type = "text/javascript" src = "../../_static/jquery.js" > < / script >
< script type = "text/javascript" src = "../../_static/underscore.js" > < / script >
< script type = "text/javascript" src = "../../_static/doctools.js" > < / script >
< script type = "text/javascript" src = "../../_static/js/theme.js" > < / script >
< script type = "text/javascript" >
jQuery(function () {
SphinxRtdTheme.StickyNav.enable();
});
< / script >
< / body >
< / html >