summaryrefslogtreecommitdiffstats
path: root/multivimbroker/run.sh
diff options
context:
space:
mode:
authorEthan Lynn <ethanlynnl@vmware.com>2018-01-15 10:32:43 +0800
committerEthan Lynn <ethanlynnl@vmware.com>2018-01-15 10:52:48 +0800
commit2906f8863e3af3559a5ba288cbc2363f31c9f507 (patch)
tree74cc6b2ae7687a7f3d857e47ae2f217c7ce76279 /multivimbroker/run.sh
parent3288950ae32c9476539933d92774757fea1c6f55 (diff)
Update license
Update license according to ONAP community Change-Id: I1cfb2d23db235c71982dc7cb19b6e89870189890 Issue-ID: MULTICLOUD-139 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
Diffstat (limited to 'multivimbroker/run.sh')
-rwxr-xr-xmultivimbroker/run.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/multivimbroker/run.sh b/multivimbroker/run.sh
index 48b8476..a59356e 100755
--- a/multivimbroker/run.sh
+++ b/multivimbroker/run.sh
@@ -1,4 +1,17 @@
#!/bin/bash
+# Copyright (c) 2017-2018 VMware, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
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