From b878686931d404568af000df1f0f86927a730680 Mon Sep 17 00:00:00 2001 From: Ritu Sood Date: Thu, 13 Dec 2018 23:57:07 -0800 Subject: Fix issue with pip install Pip install not preserving environment Issue-ID: MULTICLOUD-271 Signed-off-by: Ritu Sood Change-Id: I5203ca63278581b5c1de1751764de34830f5b872 --- vagrant/setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'vagrant') 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 -- cgit 1.2.3-korg