Merge pull request #45215 from srhb/no-password-install

nixos/doc: New installer note on unattended installs
This commit is contained in:
Samuel Dionne-Riel 2018-08-21 10:25:08 -04:00 committed by GitHub
commit 73d348c8eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -326,10 +326,9 @@ Retype new UNIX password: ***
</screen>
<note>
<para>
To prevent the password prompt, set
<code><xref linkend="opt-users.mutableUsers"/> = false;</code> in
<filename>configuration.nix</filename>, which allows unattended
installation necessary in automation.
For unattended installations, it is possible to use
<command>nixos-install --no-root-passwd</command>
in order to disable the password prompt entirely.
</para>
</note>
</para>