diff options
author | yangyan <yangyanyj@chinamobile.com> | 2020-02-13 10:56:59 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2020-02-13 11:09:20 +0800 |
commit | 2ad400a1d15e38b0deb09a312b11ffb333ec5df5 (patch) | |
tree | 3f74b40854ec414374b9b934c0183746996c25bb /docker | |
parent | e4bb4ddb3076549a0041b4d2ecca82dc85bdb8aa (diff) |
Modify the request by msb with https
Change-Id: Ifff96f74c11cc8407c9428f2342a81e5a1db8de4
Issue-ID: VFC-1602
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/instance_config.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/instance_config.sh b/docker/instance_config.sh index 70a3cc6a..9b593312 100755 --- a/docker/instance_config.sh +++ b/docker/instance_config.sh @@ -1,5 +1,6 @@ #!/bin/bash +MSB_PROTO=`echo $MSB_PROTO` MSB_IP=`echo $MSB_ADDR | cut -d: -f 1` MSB_PORT=`echo $MSB_ADDR | cut -d: -f 2` @@ -12,6 +13,10 @@ if [ $REG_TO_MSB_WHEN_START ]; then sed -i "s|REG_TO_MSB_WHEN_START = .*|REG_TO_MSB_WHEN_START = '$REG_TO_MSB_WHEN_START'|" vfc/nfvo/lcm/lcm/pub/config/config.py fi +if [ $MSB_PROTO ]; then + sed -i "s|MSB_SERVICE_PROTOCOL = .*|MSB_SERVICE_PROTOCOL = '$MSB_PROTO'|" vfc/nfvo/lcm/lcm/pub/config/config.py +fi + if [ $MSB_IP ]; then sed -i "s|MSB_SERVICE_IP = .*|MSB_SERVICE_IP = '$MSB_IP'|" vfc/nfvo/lcm/lcm/pub/config/config.py fi |