diff options
author | Ritu Sood <ritu.sood@intel.com> | 2018-12-13 23:57:07 -0800 |
---|---|---|
committer | Ritu Sood <ritu.sood@intel.com> | 2018-12-14 00:05:02 -0800 |
commit | b878686931d404568af000df1f0f86927a730680 (patch) | |
tree | a7b5c52d78947259790879abdd51816f04edb3da /vagrant | |
parent | aa56022e0fba3c358e46e8671d9a0cd36094ebaa (diff) |
Fix issue with pip install
Pip install not preserving environment
Issue-ID: MULTICLOUD-271
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Change-Id: I5203ca63278581b5c1de1751764de34830f5b872
Diffstat (limited to 'vagrant')
-rwxr-xr-x | vagrant/setup.sh | 5 |
1 files changed, 3 insertions, 2 deletions
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 |