# Override these values by optionally setting FWVERSION, SERIAL, # ROOTUSER and ROOTUSERPASS before invoking build(-docker).sh like so: # FWVERSION="XX.YY.ZZZ" SERIAL="XXXXXXXXXXXX" ./build-docker.sh export IMG_NAME="moab-fw-${FWVERSION:=dev}" echo "IMG_NAME is $IMG_NAME" export TARGET_HOSTNAME="moab-${SERIAL:=dev}" echo "TARGET_HOSTNAME is $TARGET_HOSTNAME" TIMEZONE=$(cat /etc/timezone) export TIMEZONE_DEFAULT=$TIMEZONE echo "TIMEZONE_DEFAULT is $TIMEZONE_DEFAULT" export LOCALE_DEFAULT=${LANG:="en_US.UTF-8"} echo "LOCALE_DEFAULT is $LOCALE_DEFAULT" export FIRST_USER_NAME=${ROOTUSER:="pi"} echo "ROOTUSER is $FIRST_USER_NAME" export FIRST_USER_PASS=${ROOTUSERPASS:="raspberry"} echo "FIRST_USER_PASS is $ROOTUSERPASS" export ENABLE_SSH=1