diff options
author | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-10-12 18:41:13 +0800 |
---|---|---|
committer | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-10-12 18:41:13 +0800 |
commit | 077bf54381023f73426eecac4c2347ca2b5acd7e (patch) | |
tree | b1ef78793a0f84251c0d35e3319b3d5f4403cffb /rulemgt-standalone/src/main/assembly | |
parent | 4ceea4cc47587be029567617366c56c5f52d9914 (diff) |
Enable specifying the Host IP using Script
Change-Id: I6283b610738d36fc6ea6fbccbbfca04cf5446194
Issue-ID: HOLMES-73
Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt-standalone/src/main/assembly')
-rw-r--r-- | rulemgt-standalone/src/main/assembly/bin/run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |