aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjh245g <jh245g@att.com>2018-09-19 11:20:45 -0400
committerJun (Nicolas) Hu <jh245g@att.com>2018-09-19 15:27:39 +0000
commitb1565709f14a75f757c3b1db39dd33cafbcade20 (patch)
tree811d5dd8ff90d3ca1e0b3a6bb4704cdf5df6d653
parent4a40070985b3bb6ffa7df7c11d53c9547697899e (diff)
load ONAP TOSCA into controller
Change-Id: I5eb141a4207c34bc59fbcaf03b1750b7cd5d3052 Issue-ID: OOM-1350 Signed-off-by: jh245g <jh245g@att.com>
-rw-r--r--TOSCA/bootstrap.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/TOSCA/bootstrap.sh b/TOSCA/bootstrap.sh
index 3a415f0fcf..b6a63721c8 100644
--- a/TOSCA/bootstrap.sh
+++ b/TOSCA/bootstrap.sh
@@ -24,9 +24,12 @@
# 4. execute this script with sudo
-apt-get update
+apt-get update
apt-get install build-essential libssl-dev libffi-dev python-dev gcc -y
wget http://repository.cloudifysource.org/cloudify/18.3.23/community-release/cloudify-cli-community-18.3.23.deb
dpkg -i cloudify-cli-community-18.3.23.deb
cfy install cloudify-environment-setup/openstack.yaml -i cloudify-environment-setup/inputs/openstack.yaml --install-plugins --task-retries=30 --task-retry-interval=5
-cfy install cloudify-environment-setup/openstack.yaml -i cloudify-environment-setup/inputs/openstack.yaml --install-plugins --task-retries=30 --task-retry-interval=5
+cfy install cloudify-environment-setup/openstack.yaml -i cloudify-environment-setup/inputs/openstack.yaml --install-plugins --task-retries=30 --task-retry-interval=5 | tee cminstall.log
+setprofiles=$(grep "cfy profiles use" cminstall.log | cut -d'`' -f2)
+eval $setprofiles
+cfy blueprints upload ONAP_TOSCA/onap_tosca.yaml -b onap