diff options
author | Sam Tygier <[email protected]> | 2018-12-09 22:52:03 +0000 |
---|---|---|
committer | XECDesign <[email protected]> | 2018-12-21 04:09:47 +0000 |
commit | d07096ebb565bc9ac97974895c57d88b0e82ce23 (patch) | |
tree | 98a718a8d82717f850136f44aa61f9492472562f /build.sh | |
parent | d1b747747c81d34c6779c2ac9bb86fcbfac79c6c (diff) |
Allow setting user name and password from config
Add FIRST_USER_NAME and FIRST_USER_PASS variables that can be set
in the config (or enviroment). Defaults to the standard pi and
raspberry.
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -141,6 +141,9 @@ export WORK_DIR="${WORK_DIR:-"${BASE_DIR}/work/${IMG_DATE}-${IMG_NAME}"}" export DEPLOY_DIR=${DEPLOY_DIR:-"${BASE_DIR}/deploy"} export LOG_FILE="${WORK_DIR}/build.log" +export FIRST_USER_NAME=${FIRST_USER_NAME:-pi} +export FIRST_USER_PASS=${FIRST_USER_PASS:-raspberry} + export BASE_DIR export CLEAN |