summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone/src/main
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-10-12 18:42:24 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2017-10-12 18:42:24 +0800
commit65b6a8067489e0ca77ae89d2f1f2e5e42b795257 (patch)
tree7457f5a1c3fb81793e4140d4bacc7e8c56467397 /engine-d-standalone/src/main
parenta8f1131fb60608e0ba687a1ec6ce256f38c07d2d (diff)
Enable specifying the Host IP using Script
Change-Id: Ia0c1901551828aafc844e2dd3fb1bc16a84605b6 Issue-ID: HOLMES-73 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d-standalone/src/main')
-rw-r--r--engine-d-standalone/src/main/assembly/bin/run.sh2
1 files changed, 1 insertions, 1 deletions
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