aboutsummaryrefslogtreecommitdiffstats
path: root/create_arm_image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'create_arm_image.sh')
-rwxr-xr-xcreate_arm_image.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/create_arm_image.sh b/create_arm_image.sh
index d3ba809..fc72789 100755
--- a/create_arm_image.sh
+++ b/create_arm_image.sh
@@ -310,7 +310,7 @@ function preparechroot()
title "Preparing chrooting in ${BUILD_PATH}"
info "making /etc/hostname"
- echo "${HOSTNAME}" > "${BUILD_PATH}/etc/hostname"
+ echo "${HOSTNAME:="localhost.localdomain"}" > "${BUILD_PATH}/etc/hostname"
info "copying second stage script in ${BUILD_PATH}"
#echo "/usr/bin/cp ${CONFIG_PATH}/second_stage_install.sh ${BUILD_PATH}/"