summary refs log tree commit diff
path: root/nixos/modules/installer/tools
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2021-10-04 15:05:23 -0400
committerArtturin <Artturin@artturin.com>2021-11-22 22:09:50 +0200
commit6cfd23fa0b30b696e10e5f2e25adb53fa678c20c (patch)
treefa3880e488e14f8bdfdb6778491fb1b1a9a698ab /nixos/modules/installer/tools
parent2676de37fe0a62f983f14eefb5ef3d54fc40c963 (diff)
downloadnixpkgs-6cfd23fa0b30b696e10e5f2e25adb53fa678c20c.tar
nixpkgs-6cfd23fa0b30b696e10e5f2e25adb53fa678c20c.tar.gz
nixpkgs-6cfd23fa0b30b696e10e5f2e25adb53fa678c20c.tar.bz2
nixpkgs-6cfd23fa0b30b696e10e5f2e25adb53fa678c20c.tar.lz
nixpkgs-6cfd23fa0b30b696e10e5f2e25adb53fa678c20c.tar.xz
nixpkgs-6cfd23fa0b30b696e10e5f2e25adb53fa678c20c.tar.zst
nixpkgs-6cfd23fa0b30b696e10e5f2e25adb53fa678c20c.zip
nixos-install: support --no-root-password
Diffstat (limited to 'nixos/modules/installer/tools')
-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 ea9667995e1..135ee1305f1 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-passwd)
+        --no-root-password|--no-root-passwd)
             noRootPasswd=1
             ;;
         --no-bootloader)