summaryrefslogtreecommitdiffstats
path: root/TOSCA/bootstrap.sh
diff options
context:
space:
mode:
authorjh245g <jh245g@att.com>2018-08-27 10:01:58 -0400
committerjh245g <jh245g@att.com>2018-08-27 10:05:27 -0400
commit0191c4fcaed1586770653ce21e9c6d658e8159da (patch)
tree311f8d83cd2795c7167a3fcf5d072011fda039fc /TOSCA/bootstrap.sh
parent0745a76632ea73d6660d5e470d7782b62860b477 (diff)
Bootstrap Cloudify
Change-Id: Ice60018516175b364ecd024158af14a7b51d7998 Issue-ID: OOM-1350 Signed-off-by: jh245g <jh245g@att.com>
Diffstat (limited to 'TOSCA/bootstrap.sh')
-rw-r--r--TOSCA/bootstrap.sh32
1 files changed, 32 insertions, 0 deletions
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