X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=TOSCA%2Fbootstrap.sh;fp=TOSCA%2Fbootstrap.sh;h=3a415f0fcf2209f505bd8d95a80fd4555064edd5;hb=0191c4fcaed1586770653ce21e9c6d658e8159da;hp=0000000000000000000000000000000000000000;hpb=0745a76632ea73d6660d5e470d7782b62860b477;p=oom.git diff --git a/TOSCA/bootstrap.sh b/TOSCA/bootstrap.sh new file mode 100644 index 0000000000..3a415f0fcf --- /dev/null +++ b/TOSCA/bootstrap.sh @@ -0,0 +1,32 @@ +#!/bin/sh + +# ============LICENSE_START========================================== +# =================================================================== +# Copyright (c) 2018 AT&T +# +# 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. +#============LICENSE_END============================================ + +# this script will init a community version Cloudify manager +# 1.environment ubuntu 16.04 +# 2. git clone oom project into that ubuntu environment +# 3. provide the Openstack information in /TOSCA/cloudify-environment-setup/input/openstack.yaml +# 4. execute this script with sudo + + +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