diff options
author | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-10-12 18:42:24 +0800 |
---|---|---|
committer | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-10-12 18:42:24 +0800 |
commit | 65b6a8067489e0ca77ae89d2f1f2e5e42b795257 (patch) | |
tree | 7457f5a1c3fb81793e4140d4bacc7e8c56467397 /engine-d-standalone | |
parent | a8f1131fb60608e0ba687a1ec6ce256f38c07d2d (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')
-rw-r--r-- | engine-d-standalone/src/main/assembly/bin/run.sh | 2 |
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 |