Skip to content

Commit

Permalink
Virtual: install working version of vagrant
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeyeager committed Jan 16, 2019
1 parent 035ad82 commit 50a620b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion virtual/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,17 @@ set -xe
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
sudo apt update
sudo apt install -y ansible
sudo apt install -y vagrant

if [ "$(lsb_release -cs)" = "bionic" ]; then
# dotless-de/vagrant-vbguest#292
pushd "$(mktemp -d)"
wget https://releases.hashicorp.com/vagrant/2.0.3/vagrant_2.0.3_x86_64.deb -O vagrant.deb
sudo dpkg -i vagrant.deb
popd
else
sudo apt install -y vagrant
fi

sudo apt install -y python-netaddr

# install kvm packages
Expand Down

0 comments on commit 50a620b

Please sign in to comment.