Last active
August 11, 2016 12:20
-
-
Save tamirko/d6e6cfaed471f20ce6d74fcebb1a1528 to your computer and use it in GitHub Desktop.
Create a wagon on CentOs
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
#!/bin/bash | |
source /opt/mgmtworker/env/bin/activate | |
pip freeze > requirements.txt | |
deactivate | |
virtualenv xxx | |
source xxx/bin/activate | |
pip install -r requirements.txt | |
git clone https://github.com/cloudify-cosmo/cloudify-agent.git | |
git checkout tags/3.4 | |
pushd cloudify-agent | |
pip install -e . | |
popd | |
pip uninstall -y paramiko | |
sudo yum install openssl | |
sudo yum -y install python-devel openssl-devel | |
pip install cryptography | |
pip install -y paramiko | |
pip install wagon | |
wagon create -s ./name_of_the_root_folder_that_contains_the_plugin_code | |
deactivate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment