From 4ebd3b457bd76c334d6c1fa8a7ef8e4517c9cbc3 Mon Sep 17 00:00:00 2001 From: limor-gs Date: Tue, 3 Oct 2017 14:07:26 +0300 Subject: [PATCH 1/4] Update provision.sh --- common/provision.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/provision.sh b/common/provision.sh index 01455b31..72f9ba7c 100644 --- a/common/provision.sh +++ b/common/provision.sh @@ -21,8 +21,9 @@ function install_common_prereqs () { CURL_OPTIONS="-1" elif which apt-get >> /dev/null; then sudo apt-get update && - sudo apt-get -y install openssl + sudo apt-get -y install openssl curl SUDO="sudo" + CURL_OPTIONS="-1" if [ "`lsb_release -r -s`" == "16.04" ];then sudo apt-get -y install python fi From 4cb28b038fe07b667cece6ac8750aa8ed356ba9b Mon Sep 17 00:00:00 2001 From: limor-gs Date: Tue, 3 Oct 2017 14:16:11 +0300 Subject: [PATCH 2/4] Update provision.sh --- common/provision.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/provision.sh b/common/provision.sh index 72f9ba7c..a3f2357b 100644 --- a/common/provision.sh +++ b/common/provision.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x function print_params() { @@ -33,9 +33,13 @@ function install_common_prereqs () { echo 'Probably windows machine' fi + echo "curl $CURL_OPTIONS "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"" curl $CURL_OPTIONS "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" && + echo "$SUDO python get-pip.py" $SUDO python get-pip.py && + echo "$SUDO pip install wheel==0.29.0" $SUDO pip install wheel==0.29.0 && + echo "$SUDO pip install awscli" $SUDO pip install awscli && echo "## end of installing common prerequisites" From d71fc8ff4f3f19d0d71ac0dab32e427759622f6c Mon Sep 17 00:00:00 2001 From: limor-gs Date: Tue, 3 Oct 2017 14:19:58 +0300 Subject: [PATCH 3/4] Update provision.sh --- common/provision.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/provision.sh b/common/provision.sh index a3f2357b..22f6c7c3 100644 --- a/common/provision.sh +++ b/common/provision.sh @@ -21,9 +21,8 @@ function install_common_prereqs () { CURL_OPTIONS="-1" elif which apt-get >> /dev/null; then sudo apt-get update && - sudo apt-get -y install openssl curl + sudo apt-get -y install openssl SUDO="sudo" - CURL_OPTIONS="-1" if [ "`lsb_release -r -s`" == "16.04" ];then sudo apt-get -y install python fi From ab021ebdb6af6ec1717105cef6e7da8c97c206e8 Mon Sep 17 00:00:00 2001 From: limor-gs Date: Tue, 3 Oct 2017 14:43:16 +0300 Subject: [PATCH 4/4] Update provision.sh --- common/provision.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/provision.sh b/common/provision.sh index 22f6c7c3..602bf5c3 100644 --- a/common/provision.sh +++ b/common/provision.sh @@ -32,8 +32,8 @@ function install_common_prereqs () { echo 'Probably windows machine' fi - echo "curl $CURL_OPTIONS "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"" - curl $CURL_OPTIONS "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" && + echo 'curl $CURL_OPTIONS "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"' + curl $CURL_OPTIONS "https://bootstrap.pypa.io/get-pip.py" -o get-pip.py && echo "$SUDO python get-pip.py" $SUDO python get-pip.py && echo "$SUDO pip install wheel==0.29.0"