diff options
author | GuangrongFu <fu.guangrong@zte.com.cn> | 2021-04-07 10:22:43 +0800 |
---|---|---|
committer | GuangrongFu <fu.guangrong@zte.com.cn> | 2021-04-07 10:22:43 +0800 |
commit | a836cf3d744580acd03718c5efbe068c3ecb7e4c (patch) | |
tree | de01a5880a8de6e4754e381c5dd1148263708ee9 /engine-d-standalone/src/main/assembly | |
parent | 87f963708646351b380285fcef1beb3951d729ef (diff) |
Fixed the Start-up Failure in the Dualstack Env1.3.3
Change-Id: Id57d5a629f2f7c0146deda8ab243444cab94606e
Issue-ID: HOLMES-429
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d-standalone/src/main/assembly')
-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 83b5275..f565e2e 100644 --- a/engine-d-standalone/src/main/assembly/bin/run.sh +++ b/engine-d-standalone/src/main/assembly/bin/run.sh @@ -57,7 +57,7 @@ else sed -i "s|password:.*|password: $JDBC_PASSWORD|" "$main_path/conf/engine-d.yml" fi -export SERVICE_IP=`hostname -i` +export SERVICE_IP=`hostname -i | awk '{print $1}'` echo SERVICE_IP=${SERVICE_IP} if [ ! -z ${TESTING} ] && [ ${TESTING} = 1 ]; then |