Skip to content

Commit

Permalink
extra/startup.sh: easy_install might not be available
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Durrheimer committed Nov 20, 2019
1 parent 679f0d4 commit a511cbf
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions extra/startup.sh
Expand Up @@ -127,8 +127,13 @@ _() {

echo "### starting setup of cycloid worker"
apt-get update
apt-get install -y git python-setuptools curl jq
easy_install pip
apt-get install -y --no-install-recommends git python-setuptools curl jq

if command -v easy_install >/dev/null 2>&1; then
easy_install pip
else
apt-get install -y --no-install-recommends python-pip
fi
pip install -U cryptography
pip install ansible==2.7

Expand Down

0 comments on commit a511cbf

Please sign in to comment.