From: Ritu Sood Date: Fri, 14 Dec 2018 07:57:07 +0000 (-0800) Subject: Fix issue with pip install X-Git-Tag: 0.1.0~91 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=b878686931d404568af000df1f0f86927a730680;p=multicloud%2Fk8s.git Fix issue with pip install Pip install not preserving environment Issue-ID: MULTICLOUD-271 Signed-off-by: Ritu Sood Change-Id: I5203ca63278581b5c1de1751764de34830f5b872 --- diff --git a/vagrant/setup.sh b/vagrant/setup.sh index 3ea30054..674462e7 100755 --- a/vagrant/setup.sh +++ b/vagrant/setup.sh @@ -177,9 +177,10 @@ modprobe vhost_net ${INSTALLER_CMD} ${packages[@]} if ! which pip; then curl -sL https://bootstrap.pypa.io/get-pip.py | sudo python +else + sudo -H -E pip install --upgrade pip fi -sudo -H pip install --upgrade pip -sudo -H pip install tox +sudo -H -E pip install tox if [[ ${http_proxy+x} ]]; then vagrant plugin install vagrant-proxyconf fi