aboutsummaryrefslogtreecommitdiffstats
path: root/vagrant/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vagrant/setup.sh')
-rwxr-xr-xvagrant/setup.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/vagrant/setup.sh b/vagrant/setup.sh
index c8fe2e28..674462e7 100755
--- a/vagrant/setup.sh
+++ b/vagrant/setup.sh
@@ -11,7 +11,7 @@
set -o nounset
set -o pipefail
-vagrant_version=2.2.0
+vagrant_version=2.2.2
if ! $(vagrant version &>/dev/null); then
enable_vagrant_install=true
else
@@ -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