chore: Fix default password and add more docs about scripts/develop.sh (#6514)

This commit is contained in:
Bruno Quaresma
2023-03-08 21:50:55 +00:00
committed by GitHub
parent 7df1e3bdd6
commit 54bbed8c3c
3 changed files with 17 additions and 1 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ source "${SCRIPT_DIR}/lib.sh"
[[ -n ${VERBOSE:-} ]] && set -x
set -euo pipefail
password="${CODER_DEV_ADMIN_PASSWORD:-password}"
DEFAULT_PASSWORD="SomeSecurePassword!"
password="${CODER_DEV_ADMIN_PASSWORD:-${DEFAULT_PASSWORD}}"
args="$(getopt -o "" -l agpl,password: -- "$@")"
eval set -- "$args"