Skip to content

Instantly share code, notes, and snippets.

@tamirko
Last active August 11, 2016 12:20
Show Gist options
  • Save tamirko/d6e6cfaed471f20ce6d74fcebb1a1528 to your computer and use it in GitHub Desktop.
Save tamirko/d6e6cfaed471f20ce6d74fcebb1a1528 to your computer and use it in GitHub Desktop.
Create a wagon on CentOs
#!/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