Last active
August 29, 2015 14:23
-
-
Save jasonnerothin/0ad350ac6f848252d189 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo aptitude install -y python-dev | |
sudo aptitude install -y python-virtualenv | |
sudo aptitude install -y wget zip unzip | |
virtualenv myenv | |
source myenv/bin/activate | |
pip install cloudify | |
# cfy -h | |
cfy init -r | |
sed -i 's/info/debug/' .cloudify/config.yaml | |
wget https://raw.githubusercontent.com/cloudify-cosmo/cloudify-manager-blueprints/3.2-build/simple/simple-manager-blueprint.yaml | |
wget https://raw.githubusercontent.com/cloudify-cosmo/cloudify-manager-blueprints/3.2-build/simple/inputs.yaml.template | |
mkdir empty-directory | |
mv simple-manager-blueprint.yaml empty-directory | |
mv inputs.yaml.template inputs.yaml | |
# edit inputs.yaml | |
# edit the tasks file to make --privileged=True instead of parameterized | |
# find . -type f -name tasks.py | grep bootstrap | xargs vi | |
# copy cfykey.pem into ~/.ssh | |
cfy bootstrap --install-plugins -p empty-directory/simple-manager-blueprint.yaml --verbose -i inputs.yaml | tee output.log # >> /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment