Permalink
Switch branches/tags
workflow-change-base ttt-tag-will-be-removed taroon-pre-package-changes taroon-merge-point taroon-emd-base taroon-base start sent-alpnet s390-beforeheadmerge rhel5-base rhel4-base r6.1.beta1 r4-3-17 r0-49 r0-9-2 r0-9-1 r0-9-0 r0-8-14 r0-8-11 r0-8-10 r0-8-7 r0-8-6 r0-8-2 r0-7-11 r0-7-9 r0-7-5 r0-7-4 r0-7-3 r0-7-2 r0-7-1 pre-tab-convert pre-newcomps merged-to-taroon merge.with.pot kudzu-r0-98-10 kudzu-r0-97 kudzu-r0-69 kudzu-r0-66 kudzu-r0-46 kudzu-r0-44 i18n-update-from-sources-07-20-2001 help hampton-post-HEAD-merge fc5-base fc4-base fc3-base f17-pre-noloader-merge f8-base f7-base desc config-migrate-base before.390.merge before.removing.utc before.po.msgmerge before.libdir.changes before.kudzu.loader.patch before.jj.patch2 before.bootloader.merge before-taroon-updates before-taroon-merge before-taroon-merge-2 before-rpm-4.1 before-parted-1-6-changes before-nfs-mount-upgrade before-loader-switch before-hampton-merge before-ccb-qu2-cleanup before-cambridge-monitor-query-change before-6-1-merge b4.msf.really.broke.x ancaonda-fairfax-beta-3 anaconda.8.0.90 anaconda-sparc-alpha-base anaconda-s390-tag7 anaconda-s390-tag5 anaconda-s390-tag4 anaconda-s390-tag3 anaconda-s390-tag2 anaconda-s390-tag anaconda-s390-new-tag6 anaconda-s390-GA2 anaconda-parted-base anaconda-hampton-rescueloader-base anaconda-hampton-beta1-5 anaconda-hampton-beta1-4 anaconda-hampton-beta1-3 anaconda-hampton-beta1-2 anaconda-hampton-beta-1 anaconda-hampton-base anaconda-gtk-2-0-base anaconda-fairfax-rc2 anaconda-fairfax-rc1 anaconda-fairfax-beta-3 anaconda-fairfax-beta-2 anaconda-fairfax-beta-1 anaconda-fairfax-beta-1-2 anaconda-dispatch-base anaconda-before-rpm-head-changes anaconda-before-japanese-merge anaconda-before-2.6
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
79 lines (52 sloc) 2.5 KB

Anaconda Kickstart Documentation

Authors: Brian C. Lane <bcl@redhat.com>

Anaconda uses kickstart to automate installation and as a data store for the user interface. It also extends the kickstart commands documented here by adding a new kickstart section named %anaconda where commands to control the behavior of Anaconda will be defined.

pwpolicy

program: pwpolicy <name> [--minlen=LENGTH] [--minquality=QUALITY] [--strict|notstrict] [--emptyok|notempty] [--changesok|nochanges]

Set the policy to use for the named password entry.

name
Name of the password entry, currently supported values are: root, user and luks
--minlen (6)
Minimum password length. This is passed on to libpwquality.
--minquality (1)
Minimum libpwquality to consider good. When using --strict it will not allow passwords with a quality lower than this.
--strict
Strict password enforcement. Passwords not meeting the --minquality level will not be allowed.
--notstrict (DEFAULT)
Passwords not meeting the --minquality level will be allowed after Done is clicked twice.
--emptyok (DEFAULT)
Allow empty password.
--notempty
Don't allow an empty password
--changesok
Allow UI to be used to change the password/user when it has already been set in the kickstart.
--nochanges (DEFAULT)
Do not allow UI to be used to change the password/user if it has been set in the kickstart.

installclass

installclass --name=<name>

Require the specified install class to be used for the installation. Otherwise, the best available install class will be used.

--name=

Name of the required install class.

The defaults for interactive installations 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.

When using a kickstart the defaults can be overridded by placing an %anaconda section into the kickstart, like this:

%anaconda
pwpolicy root --minlen=10 --minquality=60 --strict --notempty --nochanges
%end

Note

The commit message for pwpolicy included some incorrect examples.