diff options
author | Huang Haibin <haibin.huang@intel.com> | 2018-07-24 20:23:33 +0800 |
---|---|---|
committer | Fu Jinhua <fu.jinhua@zte.com.cn> | 2018-08-02 00:38:34 +0000 |
commit | 6340336bdf5e80206cac55feed20fca4252c30d0 (patch) | |
tree | 2b184b775dfbcc6ea5d746843e3be13e2a7e70d3 /lcm/docker | |
parent | c560b9542571e1a77178247ee3073f4f7049d561 (diff) |
Fix GVNFM AAI config error
AAI IP and Port is not right
Change-Id: I93f1feab4af1cdac9a128b902cfdee93c034ac87
Issue-ID: VFC-971
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
Diffstat (limited to 'lcm/docker')
-rwxr-xr-x | lcm/docker/instance_config.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lcm/docker/instance_config.sh b/lcm/docker/instance_config.sh index c15cb848..e5d92279 100755 --- a/lcm/docker/instance_config.sh +++ b/lcm/docker/instance_config.sh @@ -19,6 +19,8 @@ if [ $SERVICE_IP ]; then sed -i "s|\"ip\": \".*\"|\"ip\": \"$SERVICE_IP\"|" vfc/gvnfm/vnflcm/lcm/lcm/pub/config/config.py fi +sed -i "s/127.0.0.1:80/$MSB_IP:$MSB_PORT/" vfc/gvnfm/vnflcm/lcm/lcm/pub/config/config.py + # Configure MYSQL if [ -z "$MYSQL_ADDR" ]; then export MYSQL_IP=`hostname -i` |