aboutsummaryrefslogtreecommitdiffstats
path: root/heat
diff options
context:
space:
mode:
authorshrikantawachar <shrikant.awachar@amdocs.com>2019-01-16 17:24:53 +0530
committershrikantawachar <shrikant.awachar@amdocs.com>2019-01-16 17:24:53 +0530
commitc4ee5ddf54658c83a59b5db46b8af8f957ffa390 (patch)
tree15a4ae9b2d91eefeb31d005aedd22250bf67d43d /heat
parent33ea4652ccfe8d2ae412cee541bf1a7c2ccb695e (diff)
Allow custom plugins in SDC
Allow custom plugins in SDC Change-Id: I636d534d1853522b131b225ab851013622441bf2 Issue-ID: SDC-2022 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
Diffstat (limited to 'heat')
-rw-r--r--heat/ONAP/cloud-config/sdc_vm_init.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/heat/ONAP/cloud-config/sdc_vm_init.sh b/heat/ONAP/cloud-config/sdc_vm_init.sh
index 9626a2ee..218806bc 100644
--- a/heat/ONAP/cloud-config/sdc_vm_init.sh
+++ b/heat/ONAP/cloud-config/sdc_vm_init.sh
@@ -12,6 +12,7 @@ git pull
cd /opt
cp sdc/sdc-os-chef/environments/Template.json /data/environments
+cp sdc/sdc-os-chef/environments/plugins-configuration.yaml /data/environments
cp sdc/sdc-os-chef/scripts/docker_run.sh /data/scripts
cp sdc/sdc-os-chef/scripts/docker_health.sh /data/scripts
chmod +x /data/scripts/docker_run.sh
@@ -23,6 +24,7 @@ cat /data/environments/Template.json | sed "s/yyy/"$IP_ADDRESS"/g" > /data/envir
sed -i "s/xxx/"$ENV_NAME"/g" /data/environments/$ENV_NAME.json
sed -i "s/\"ueb_url_list\":.*/\"ueb_url_list\": \""$MR_IP_ADDR","$MR_IP_ADDR"\",/g" /data/environments/$ENV_NAME.json
sed -i "s/\"fqdn\":.*/\"fqdn\": [\""$MR_IP_ADDR"\", \""$MR_IP_ADDR"\"]/g" /data/environments/$ENV_NAME.json
+sed -i "s/yyy/"$IP_ADDRESS"/g" /data/environments/plugins-configuration.yaml
docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
bash /data/scripts/docker_run.sh -r $RELEASE