install-osrf.sh: hostname of current server
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Thu, 19 May 2016 19:12:53 +0000 (12:12 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Thu, 19 May 2016 19:12:53 +0000 (12:12 -0700)
deployment/install-osrf.sh

index 8ec185f..6fc8572 100755 (executable)
@@ -8,6 +8,8 @@ HOSTNAME="nonprod"
 SITKACONF="${HOMEDIR}/sysadmin"
 SITKACONF_BRANCH="eg210"
 
+THISHOST=`hostname -s`
+
 # test for ejabberd passwords
 if [ -z "$PRIVATE_ROUTER_PASSWD" -o -z "$PRIVATE_OPENSRF_PASSWD" -o -z "$PUBLIC_ROUTER_PASSWD" -o -z "$PUBLIC_OPENSRF_PASSWD" ]
 then