diff options
author | Jybz <j.biernacki@free.fr> | 2020-08-30 01:23:00 +0200 |
---|---|---|
committer | Jybz <j.biernacki@free.fr> | 2020-08-30 01:23:00 +0200 |
commit | e71c0f3072747f77e455ec14c4ebc0f75d60fcfb (patch) | |
tree | 7dbafdca615b2c32c4acc4dfba87a356ac96a396 | |
parent | 1f449b4e6e60e2a3df3a01e02eca7ef36b7111a3 (diff) | |
download | mageia4arm-e71c0f3072747f77e455ec14c4ebc0f75d60fcfb.tar mageia4arm-e71c0f3072747f77e455ec14c4ebc0f75d60fcfb.tar.gz mageia4arm-e71c0f3072747f77e455ec14c4ebc0f75d60fcfb.tar.bz2 mageia4arm-e71c0f3072747f77e455ec14c4ebc0f75d60fcfb.tar.xz mageia4arm-e71c0f3072747f77e455ec14c4ebc0f75d60fcfb.zip |
add default value for hostname.
-rwxr-xr-x | create_arm_image.sh | 2 |
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}/" |