summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone/src/main/assembly
diff options
context:
space:
mode:
Diffstat (limited to 'engine-d-standalone/src/main/assembly')
-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