-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-vagrant.sh
More file actions
executable file
·27 lines (21 loc) · 887 Bytes
/
setup-vagrant.sh
File metadata and controls
executable file
·27 lines (21 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
# Fail on error
set -e
# Update deps
sudo apt-get update
echo "Installing vagrant..."
#sudo apt-get install -y vagrant
wget https://releases.hashicorp.com/vagrant/1.9.1/vagrant_1.9.1_x86_64.deb
sudo dpkg -i vagrant_1.9.1_x86_64.deb
echo "Installing required plug-ins"
vagrant plugin install vagrant-vbguest
vagrant plugin update vagrant-vbguest
vagrant plugin install vagrant-triggers
echo "Restarting vagrant services..."
sudo service vboxdrv restart
echo "---------------------------------"
echo "Please restart VirtualBox if you are using it"
echo "Set VAGRANT_HOME if you intend to change the default location for boxes"
echo "If you see vboxdrv probe errors, please sign the key as mentioned in\nhttp://askubuntu.com/questions/760671/could-not-load-vboxdrv-after-upgrade-to-ubuntu-16-04-and-i-want-to-keep-secu"
echo "---------------------------------"
echo "Done!"