2016-04-10 04:00:00 +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" >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
2017-01-09 02:09:07 +00:00
< title > Anaconda Kickstart Documentation — Anaconda 25.14 documentation< / title >
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< link rel = "stylesheet" href = "_static/css/theme.css" type = "text/css" / >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
< link rel = "top" title = "Anaconda 25.14 documentation" href = "index.html" / >
2016-04-10 04:00:00 +00:00
< link rel = "next" title = "Rules for commit messages" href = "commit-log.html" / >
2017-01-09 02:09:07 +00:00
< link rel = "prev" title = "Anaconda Boot Options" href = "boot-options.html" / >
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< script src = "_static/js/modernizr.min.js" > < / script >
< / head >
< body class = "wy-body-for-nav" role = "document" >
< div class = "wy-grid-for-nav" >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< nav data-toggle = "wy-nav-shift" class = "wy-nav-side" >
2017-01-09 02:09:07 +00:00
< div class = "wy-side-scroll" >
< div class = "wy-side-nav-search" >
< a href = "index.html" class = "icon icon-home" > Anaconda
< / a >
< div class = "version" >
25.14
< / div >
2016-04-10 04:00:00 +00:00
< 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 >
2017-01-09 02:09:07 +00:00
< / div >
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
< div class = "wy-menu wy-menu-vertical" data-spy = "affix" role = "navigation" aria-label = "main navigation" >
< ul class = "current" >
2016-04-10 04:00:00 +00:00
< li class = "toctree-l1" > < a class = "reference internal" href = "intro.html" > Introduction to Anaconda< / a > < / li >
2017-01-09 02:09:07 +00:00
< li class = "toctree-l1" > < a class = "reference internal" href = "release.html" > Building a Release< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "boot-options.html" > Anaconda Boot Options< / a > < / li >
2016-04-10 04:00:00 +00:00
< li class = "toctree-l1 current" > < a class = "current reference internal" href = "" > Anaconda Kickstart Documentation< / a > < ul >
< li class = "toctree-l2" > < a class = "reference internal" href = "#pwpolicy" > pwpolicy< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "commit-log.html" > Rules for commit messages< / a > < / li >
2017-01-09 02:09:07 +00:00
< li class = "toctree-l1" > < a class = "reference internal" href = "driverdisc.html" > Brief description of DriverDisc version 3< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "iscsi.html" > iSCSI and Anaconda< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "multipath.html" > Multipath and Anaconda< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "modules.html" > pyanaconda< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "testing.html" > Testing< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "tests/modules.html" > tests< / a > < / li >
2016-04-10 04:00:00 +00:00
< / ul >
2017-01-09 02:09:07 +00:00
< / div >
2016-04-10 04:00:00 +00:00
< / div >
< / nav >
< section data-toggle = "wy-nav-shift" class = "wy-nav-content-wrap" >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< nav class = "wy-nav-top" role = "navigation" aria-label = "top navigation" >
< i data-toggle = "wy-nav-top" class = "fa fa-bars" > < / i >
< a href = "index.html" > Anaconda< / a >
< / nav >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< div class = "wy-nav-content" >
< div class = "rst-content" >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
< div role = "navigation" aria-label = "breadcrumbs navigation" >
< ul class = "wy-breadcrumbs" >
< li > < a href = "index.html" > Docs< / a > » < / li >
< li > Anaconda Kickstart Documentation< / li >
< li class = "wy-breadcrumbs-aside" >
< a href = "_sources/kickstart.txt" rel = "nofollow" > View page source< / a >
2016-04-10 04:00:00 +00:00
< / li >
< / ul >
< hr / >
< / div >
2017-01-09 02:09:07 +00:00
< div role = "main" class = "document" itemscope = "itemscope" itemtype = "http://schema.org/Article" >
< div itemprop = "articleBody" >
2016-04-10 04:00:00 +00:00
< div class = "section" id = "anaconda-kickstart-documentation" >
< h1 > Anaconda Kickstart Documentation< a class = "headerlink" href = "#anaconda-kickstart-documentation" title = "Permalink to this headline" > ¶< / a > < / h1 >
< table class = "docutils field-list" frame = "void" rules = "none" >
< col class = "field-name" / >
< col class = "field-body" / >
< tbody valign = "top" >
< tr class = "field-odd field" > < th class = "field-name" > Authors:< / th > < td class = "field-body" > Brian C. Lane < < a class = "reference external" href = "mailto:bcl%40redhat.com" > bcl< span > @ < / span > redhat< span > . < / span > com< / a > > < / td >
< / tr >
< / tbody >
< / table >
< p > Anaconda uses < a class = "reference external" href = "https://github.com/rhinstaller/pykickstart" > kickstart< / a > to automate
installation and as a data store for the user interface. It also extends the kickstart
2017-01-09 02:09:07 +00:00
commands < a class = "reference external" href = "https://github.com/rhinstaller/pykickstart/blob/master/docs/kickstart-docs.rst" > documented here< / a >
2016-04-10 04:00:00 +00:00
by adding a new kickstart section named %anaconda where commands to control the behavior
of Anaconda will be defined.< / p >
< div class = "section" id = "pwpolicy" >
< h2 > pwpolicy< a class = "headerlink" href = "#pwpolicy" title = "Permalink to this headline" > ¶< / a > < / h2 >
< dl class = "docutils" >
2017-01-09 02:09:07 +00:00
< dt > < code class = "docutils literal" > < span class = "pre" > program:< / span > < span class = "pre" > pwpolicy< / span > < span class = "pre" > < name> < / span > < span class = "pre" > [--minlen=LENGTH]< / span > < span class = "pre" > [--minquality=QUALITY]< / span > < span class = "pre" > [--strict|notstrict]< / span > < span class = "pre" > [--emptyok|notempty]< / span > < span class = "pre" > [--changesok|nochanges]< / span > < / code > < / dt >
2016-04-10 04:00:00 +00:00
< dd > < p class = "first" > Set the policy to use for the named password entry.< / p >
< dl class = "last docutils" >
2017-01-09 02:09:07 +00:00
< dt > < code class = "docutils literal" > < span class = "pre" > name< / span > < / code > < / dt >
2016-04-10 04:00:00 +00:00
< dd > Name of the password entry, currently supported values are: root, user and luks< / dd >
2017-01-09 02:09:07 +00:00
< dt > < code class = "docutils literal" > < span class = "pre" > --minlen< / span > < / code > (8)< / dt >
2016-04-10 04:00:00 +00:00
< dd > Minimum password length. This is passed on to libpwquality.< / dd >
2017-01-09 02:09:07 +00:00
< dt > < code class = "docutils literal" > < span class = "pre" > --minquality< / span > < / code > (50)< / dt >
2016-04-10 04:00:00 +00:00
< dd > Minimum libpwquality to consider good. When using – strict it will not allow
passwords with a quality lower than this.< / dd >
2017-01-09 02:09:07 +00:00
< dt > < code class = "docutils literal" > < span class = "pre" > --strict< / span > < / code > (DEFAULT)< / dt >
2016-04-10 04:00:00 +00:00
< dd > Strict password enforcement. Passwords not meeting the – minquality level will
not be allowed.< / dd >
2017-01-09 02:09:07 +00:00
< dt > < code class = "docutils literal" > < span class = "pre" > --notstrict< / span > < / code > < / dt >
2016-04-10 04:00:00 +00:00
< dd > Passwords not meeting the – minquality level will be allowed after Done is clicked
twice.< / dd >
2017-01-09 02:09:07 +00:00
< dt > < code class = "docutils literal" > < span class = "pre" > --emptyok< / span > < / code > (DEFAULT)< / dt >
2016-04-10 04:00:00 +00:00
< dd > Allow empty password.< / dd >
2017-01-09 02:09:07 +00:00
< dt > < code class = "docutils literal" > < span class = "pre" > --notempty< / span > < / code > < / dt >
2016-04-10 04:00:00 +00:00
< dd > Don’ t allow an empty password< / dd >
2017-01-09 02:09:07 +00:00
< dt > < code class = "docutils literal" > < span class = "pre" > --changesok< / span > < / code > < / dt >
2016-04-10 04:00:00 +00:00
< dd > Allow UI to be used to change the password/user when it has already been set in
the kickstart.< / dd >
2017-01-09 02:09:07 +00:00
< dt > < code class = "docutils literal" > < span class = "pre" > --nochanges< / span > < / code > (DEFAULT)< / dt >
2016-04-10 04:00:00 +00:00
< dd > Do not allow UI to be used to change the password/user if it has been set in
the kickstart.< / dd >
< / dl >
< / dd >
< / dl >
< p > The defaults for these are set in the /usr/share/anaconda/interactive-defaults.ks file
provided by Anaconda. If a product, such as Fedora Workstation, wishes to override them
then a product.img needs to be created with a new version of the file included.< / p >
< p > When using a kickstart the defaults can be overridded by placing a %anaconda section into
the kickstart, like this:< / p >
2017-01-09 02:09:07 +00:00
< div class = "highlight-python" > < div class = "highlight" > < pre > < span > < / span > %anaconda
2016-04-10 04:00:00 +00:00
pwpolicy root --minlen=10 --minquality=60 --strict --notempty --nochanges
%end
< / pre > < / div >
< / div >
< div class = "admonition note" >
< p class = "first admonition-title" > Note< / p >
< p class = "last" > The commit message for pwpolicy included some incorrect examples.< / p >
< / div >
< / div >
< / div >
2017-01-09 02:09:07 +00:00
< / div >
2016-04-10 04:00:00 +00:00
< / div >
< footer >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< div class = "rst-footer-buttons" role = "navigation" aria-label = "footer navigation" >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< a href = "commit-log.html" class = "btn btn-neutral float-right" title = "Rules for commit messages" accesskey = "n" > Next < span class = "fa fa-arrow-circle-right" > < / span > < / a >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< a href = "boot-options.html" class = "btn btn-neutral" title = "Anaconda Boot Options" accesskey = "p" > < span class = "fa fa-arrow-circle-left" > < / span > Previous< / a >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< / div >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< hr / >
< div role = "contentinfo" >
< p >
© Copyright 2015, Red Hat, Inc..
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< / p >
< / div >
2017-01-09 02:09:07 +00:00
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 > .
2016-04-10 04:00:00 +00:00
< / footer >
< / div >
< / div >
< / section >
< / div >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< script type = "text/javascript" >
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
2017-01-09 02:09:07 +00:00
VERSION:'25.14',
2016-04-10 04:00:00 +00:00
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
};
< / 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 >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< script type = "text/javascript" src = "_static/js/theme.js" > < / script >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< script type = "text/javascript" >
jQuery(function () {
SphinxRtdTheme.StickyNav.enable();
});
< / script >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< / body >
< / html >