summaryrefslogtreecommitdiffstats
path: root/multivimbroker/run.sh
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2020-02-01 11:20:43 +0800
committerBin Yang <bin.yang@windriver.com>2020-02-01 12:03:46 +0800
commit0a542045a647da97f24b22ef41e422edac30ed9f (patch)
treee34cb8186439365aeda91e59dcfa1387b649e8bc /multivimbroker/run.sh
parentf1f52b3ccf0ab78007a98947211b4fcdfd54b5e6 (diff)
Enable the usage of msb https endpints
The default enpoint is still http Issue-ID: MULTICLOUD-978 Signed-off-by: Bin Yang <bin.yang@windriver.com> Change-Id: I2bb8e64bfe5a26a183b3f8bb86ebd9c3ab9481b0
Diffstat (limited to 'multivimbroker/run.sh')
-rwxr-xr-xmultivimbroker/run.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/multivimbroker/run.sh b/multivimbroker/run.sh
index f75f7c4..1079cf1 100755
--- a/multivimbroker/run.sh
+++ b/multivimbroker/run.sh
@@ -13,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+sed -i "s/MSB_SERVICE_PROTOCOL =.*/MSB_SERVICE_PROTOCOL = \"${MSB_PROTO}\"/g" multivimbroker/pub/config/config.py
sed -i "s/MSB_SERVICE_IP =.*/MSB_SERVICE_IP = \"${MSB_ADDR}\"/g" multivimbroker/pub/config/config.py
sed -i "s/MSB_SERVICE_PORT =.*/MSB_SERVICE_PORT = \"${MSB_PORT}\"/g" multivimbroker/pub/config/config.py
sed -i "s/AAI_ADDR =.*/AAI_ADDR = \"${AAI_ADDR}\"/g" multivimbroker/pub/config/config.py