diff options
author | GuangrongFu <fu.guangrong@zte.com.cn> | 2021-04-07 10:18:09 +0800 |
---|---|---|
committer | GuangrongFu <fu.guangrong@zte.com.cn> | 2021-04-13 08:28:54 +0800 |
commit | 0800c8bb3b6d443d9c280000f8e79fbf380f9415 (patch) | |
tree | 3b60bfff66b8cf671c2a89101de5b666f7076086 /rulemgt-standalone/src/main/assembly | |
parent | e336b8bbdaa0364e5185ac5a0c6422e62820bc59 (diff) |
Fixed the Start-up Failure in the Dualstack Env
Change-Id: I17d2a8cd5cba6276e131f67365143db1dda53114
Issue-ID: HOLMES-429
Signed-off-by: GuangrongFu <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 69b5df5..3f32d4e 100644 --- a/rulemgt-standalone/src/main/assembly/bin/run.sh +++ b/rulemgt-standalone/src/main/assembly/bin/run.sh @@ -53,7 +53,7 @@ sed -i "s|password:.*|password: $JDBC_PASSWORD|" "$main_path/conf/rulemgt.yml" sed -i "s|url:.*|url: jdbc:postgresql://$URL_JDBC/$DB_NAME|" "$main_path/conf/rulemgt.yml" sed -i "s|msbServerAddr:.*|msbServerAddr: http://$MSB_ADDR|" "$main_path/conf/rulemgt.yml" -export SERVICE_IP=`hostname -i` +export SERVICE_IP=`hostname -i | awk '{print $1}'` echo SERVICE_IP=${SERVICE_IP} if [ ! -z ${TESTING} -a ${TESTING} = 1 ]; then |