nixos-install: support --no-root-password

Changed files
+10 -5
nixos
doc
modules
installer
+9 -4
nixos/doc/manual/man-nixos-install.xml
···
</arg>
<arg>
-
<arg choice='plain'>
-
<option>--no-root-passwd</option>
-
</arg>
</arg>
<arg>
···
<listitem>
<para>
It prompts you for a password for the root account (unless
-
<option>--no-root-passwd</option> is specified).
</para>
</listitem>
</itemizedlist>
···
</arg>
<arg>
+
<group choice='req'>
+
<arg choice='plain'>
+
<option>--no-root-password</option>
+
</arg>
+
<arg choice='plain'>
+
<option>--no-root-passwd</option>
+
</arg>
+
</group>
</arg>
<arg>
···
<listitem>
<para>
It prompts you for a password for the root account (unless
+
<option>--no-root-password</option> is specified).
</para>
</listitem>
</itemizedlist>
+1 -1
nixos/modules/installer/tools/nixos-install.sh
···
--no-channel-copy)
noChannelCopy=1
;;
-
--no-root-passwd)
noRootPasswd=1
;;
--no-bootloader)
···
--no-channel-copy)
noChannelCopy=1
;;
+
--no-root-password|--no-root-passwd)
noRootPasswd=1
;;
--no-bootloader)