aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam McLoughlin <hexxeh@hexxeh.net>2011-07-11 14:59:51 +0100
committerLiam McLoughlin <hexxeh@hexxeh.net>2011-07-11 14:59:51 +0100
commitcb7c822b0284d11d16b49023162820d1ffca6fdd (patch)
tree18102deaecf445568d30bb63187294b0cceb10f2 /create_image.sh
parentAdded compress flag to build tool (diff)
downloadgentoaster-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-xcreate_image.sh1
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"