diff options
author | 2011-07-11 14:59:51 +0100 | |
---|---|---|
committer | 2011-07-11 14:59:51 +0100 | |
commit | cb7c822b0284d11d16b49023162820d1ffca6fdd (patch) | |
tree | 18102deaecf445568d30bb63187294b0cceb10f2 /create_image.sh | |
parent | Added compress flag to build tool (diff) | |
download | gentoaster-cb7c822b0284d11d16b49023162820d1ffca6fdd.tar.gz gentoaster-cb7c822b0284d11d16b49023162820d1ffca6fdd.tar.bz2 gentoaster-cb7c822b0284d11d16b49023162820d1ffca6fdd.zip |
Fixed hostname setting and changed Gearman daemon/client to meet Zend coding standard
Diffstat (limited to 'create_image.sh')
-rwxr-xr-x | create_image.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/create_image.sh b/create_image.sh index 94004a8..f87e507 100755 --- a/create_image.sh +++ b/create_image.sh @@ -192,6 +192,7 @@ echo "Step 13: Setting timezone to ${TIMEZONE}" linux32 chroot . cp /usr/share/zoneinfo/${TIMEZONE} /etc/localtime &>> ${LOG_FILE} echo "Step 14: Setting hostname to ${HOSTNAME}" +linux32 chroot . /bin/bash -c "echo hostname='${HOSTNAME}' > /etc/conf.d/hostname" &>> ${LOG_FILE} linux32 chroot . /bin/bash -c "echo 127.0.0.1 ${HOSTNAME}.local ${HOSTNAME} localhost > /etc/hosts" &>> ${LOG_FILE} echo "Step 15: Copying new fstab" |