From 077bf54381023f73426eecac4c2347ca2b5acd7e Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Thu, 12 Oct 2017 18:41:13 +0800 Subject: Enable specifying the Host IP using Script Change-Id: I6283b610738d36fc6ea6fbccbbfca04cf5446194 Issue-ID: HOLMES-73 Signed-off-by: Guangrong Fu --- rulemgt-standalone/src/main/assembly/bin/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rulemgt-standalone/src/main/assembly/bin/run.sh b/rulemgt-standalone/src/main/assembly/bin/run.sh index 357c7c9..592f85d 100644 --- a/rulemgt-standalone/src/main/assembly/bin/run.sh +++ b/rulemgt-standalone/src/main/assembly/bin/run.sh @@ -40,7 +40,7 @@ export SERVICE_IP=`hostname -i` echo SERVICE_IP=${SERVICE_IP} if [ ! -z ${TESTING} ] && [ ${TESTING} == 1 ]; then - if [ ! -z ${HOST_IP}]; then + if [ ! -z ${HOST_IP} ]; then export HOSTNAME=${HOST_IP}:9101 else export HOSTNAME=${SERVICE_IP}:9101 -- cgit 1.2.3-korg