From 65b6a8067489e0ca77ae89d2f1f2e5e42b795257 Mon Sep 17 00:00:00 2001 From: Guangrong Fu Date: Thu, 12 Oct 2017 18:42:24 +0800 Subject: Enable specifying the Host IP using Script Change-Id: Ia0c1901551828aafc844e2dd3fb1bc16a84605b6 Issue-ID: HOLMES-73 Signed-off-by: Guangrong Fu --- engine-d-standalone/src/main/assembly/bin/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine-d-standalone/src/main/assembly/bin') diff --git a/engine-d-standalone/src/main/assembly/bin/run.sh b/engine-d-standalone/src/main/assembly/bin/run.sh index 4d8dff5..59a1c18 100644 --- a/engine-d-standalone/src/main/assembly/bin/run.sh +++ b/engine-d-standalone/src/main/assembly/bin/run.sh @@ -44,7 +44,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}:9102 else export HOSTNAME=${SERVICE_IP}:9102 -- cgit 1.2.3-korg