summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2017-09-05 09:51:48 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2017-09-05 09:51:48 +0800
commitb18660b3019f22ec49e5e9fde701e9b8d8a0691a (patch)
tree09f28fc41ab260215dfee64805f000df4b3eb932 /docker
parent3e0b98ba507d87f45a7c97f28dae38887a1a9b0d (diff)
Update instance_config.sh of vfc-nfvo-lcm
Change default MYSQL_IP to 127.0.0.1 Change-Id: Ibe15883844a37dbd36126e6b8e46b353f02696ce Issue-Id: VFC-269 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'docker')
-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 06e0d027..1fc5edaa 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=`hostname -i`
+ export MYSQL_IP=127.0.0.1
export MYSQL_PORT=3306
export MYSQL_ADDR=$MYSQL_IP:$MYSQL_PORT
else