summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-05-22 17:46:05 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-05-29 11:15:58 +0000
commitc78f908e447c873324ef0c52ac49d3ba99eddd18 (patch)
treebcf7b47e5f75b8f48a7a28560cec6a61ae38b3de
parent64672152963409d496527e270eb199f5e3321e59 (diff)
downloaddefinitions-c78f908e447c873324ef0c52ac49d3ba99eddd18.tar.gz
Stop setting system hostname to TROVE_ID
We have hostname.configure already for setting the hostname, and nothing in Trove (gitano, LC, etc) should care about the hostname. They might care about the external name (i.e., TROVE_HOSTNAME), but that's entirely orthogonal to the system hostname. And some systems shouldn't have their system hostname set to TROVE_ID. For example, git.baserock.org's TROVE_ID is baserock, but the system hostname shouldn't be that (it's currently firehose1).
-rwxr-xr-xtrove.configure3
1 files changed, 0 insertions, 3 deletions
diff --git a/trove.configure b/trove.configure
index 1851e38c..4bbe50d5 100755
--- a/trove.configure
+++ b/trove.configure
@@ -46,9 +46,6 @@ ROOT="$1"
# Configuration in /etc, which we need to do on all deployments.
##########################################################################
-echo "Set hostname to $TROVE_ID"
-echo "$TROVE_ID" > "$ROOT/etc/hostname"
-
##########################################################################
lua_escape()