summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2021-10-12 12:49:42 -0400
committerGitHub <noreply@github.com>2021-10-12 12:49:42 -0400
commitdee98cf40c103b583395ef6623a132f25d72763f (patch)
tree3de3c405fbace988d874d36ce99b65d7254f6ff7
parentnixos-install: support --no-root-password (diff)
downloadnixpkgs-origin/nixos-install/--no-root-password.tar.gz
nixos-install: fixup --no-root-passwdorigin/nixos-install/--no-root-password
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
-rw-r--r--nixos/modules/installer/tools/nixos-install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/tools/nixos-install.sh b/nixos/modules/installer/tools/nixos-install.sh
index 956a10226e77..135ee1305f12 100644
--- a/nixos/modules/installer/tools/nixos-install.sh
+++ b/nixos/modules/installer/tools/nixos-install.sh
@@ -58,7 +58,7 @@ while [ "$#" -gt 0 ]; do
--no-channel-copy)
noChannelCopy=1
;;
- --no-root-password|no-root-passwd)
+ --no-root-password|--no-root-passwd)
noRootPasswd=1
;;
--no-bootloader)