summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone/src
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2021-04-07 10:22:43 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2021-04-07 10:22:43 +0800
commita836cf3d744580acd03718c5efbe068c3ecb7e4c (patch)
treede01a5880a8de6e4754e381c5dd1148263708ee9 /engine-d-standalone/src
parent87f963708646351b380285fcef1beb3951d729ef (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')
-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 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