summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.org>2019-12-05 16:25:18 +0000
committerSerge Schneider <serge@raspberrypi.org>2020-01-21 17:45:22 +0000
commit24bb01dec280f568ac59cdd1253a33a6d30ac4c4 (patch)
tree28ad72d0b1af676502c9053adcee6274bbc98039 /build.sh
parentf8f3d6fe93a6709f02f63f3a203a38bcd33a0c0d (diff)
Rename HOSTNAME variable to TARGET_HOSTNAME
Bash sets the HOSTNAME variable, overriding our default
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 9e78728..a906e10 100755
--- a/build.sh
+++ b/build.sh
@@ -162,7 +162,7 @@ export DEPLOY_DIR=${DEPLOY_DIR:-"${BASE_DIR}/deploy"}
export DEPLOY_ZIP="${DEPLOY_ZIP:-1}"
export LOG_FILE="${WORK_DIR}/build.log"
-export HOSTNAME=${HOSTNAME:-raspberrypi}
+export TARGET_HOSTNAME=${TARGET_HOSTNAME:-raspberrypi}
export FIRST_USER_NAME=${FIRST_USER_NAME:-pi}
export FIRST_USER_PASS=${FIRST_USER_PASS:-raspberry}