Hotfix: Return HASHED_PASSWORD generation

rolling-testing
Inex Code 2021-11-18 21:04:13 +02:00
parent 2cd5e65579
commit a52e3105d0
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
set -e -o pipefail
makeConf() {
export HASHED_PASSWORD=$( mkpasswd -m sha-512 "$PASSWORD" )
# Skip everything if main config already present
[[ -e /etc/nixos/configuration.nix ]] && return 0
# NB <<"EOF" quotes / $ ` in heredocs, <<EOF does not