aboutsummaryrefslogtreecommitdiffstats
path: root/docker/instance_config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/instance_config.sh')
-rwxr-xr-xdocker/instance_config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/instance_config.sh b/docker/instance_config.sh
index 1fc5edaa..06e0d027 100755
--- a/docker/instance_config.sh
+++ b/docker/instance_config.sh
@@ -31,7 +31,7 @@ sed -i "s|DB_PASSWD.*|DB_PASSWD = 'vfcnfvolcm'|" vfc/nfvo/lcm/lcm/pub/config/con
# Configure MYSQL
if [ -z "$MYSQL_ADDR" ]; then
- export MYSQL_IP=127.0.0.1
+ export MYSQL_IP=`hostname -i`
export MYSQL_PORT=3306
export MYSQL_ADDR=$MYSQL_IP:$MYSQL_PORT
else