From b1565709f14a75f757c3b1db39dd33cafbcade20 Mon Sep 17 00:00:00 2001 From: jh245g Date: Wed, 19 Sep 2018 11:20:45 -0400 Subject: load ONAP TOSCA into controller Change-Id: I5eb141a4207c34bc59fbcaf03b1750b7cd5d3052 Issue-ID: OOM-1350 Signed-off-by: jh245g --- TOSCA/bootstrap.sh | 7 +++++-- 1 file 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 -- cgit 1.2.3-korg