blob: 3a415f0fcf2209f505bd8d95a80fd4555064edd5 [file] [log] [blame]
jh245g0191c4f2018-08-27 10:01:58 -04001#!/bin/sh
2
3# ============LICENSE_START==========================================
4# ===================================================================
5# Copyright (c) 2018 AT&T
6#
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18#============LICENSE_END============================================
19
20# this script will init a community version Cloudify manager
21# 1.environment ubuntu 16.04
22# 2. git clone oom project into that ubuntu environment
23# 3. provide the Openstack information in /TOSCA/cloudify-environment-setup/input/openstack.yaml
24# 4. execute this script with sudo
25
26
27apt-get update
28apt-get install build-essential libssl-dev libffi-dev python-dev gcc -y
29wget http://repository.cloudifysource.org/cloudify/18.3.23/community-release/cloudify-cli-community-18.3.23.deb
30dpkg -i cloudify-cli-community-18.3.23.deb
31cfy install cloudify-environment-setup/openstack.yaml -i cloudify-environment-setup/inputs/openstack.yaml --install-plugins --task-retries=30 --task-retry-interval=5
32cfy install cloudify-environment-setup/openstack.yaml -i cloudify-environment-setup/inputs/openstack.yaml --install-plugins --task-retries=30 --task-retry-interval=5