- Virtualbox
- Vagrant
- Download this Gist as a zipfile
- Run
vagrant up
to create and provision a new box - Run
vagrant ssh
to use this box
#!/bin/bash | |
echo "deb http://download.virtualbox.org/virtualbox/debian stretch contrib" > /etc/apt/sources.list.d/virtualbox.list | |
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | apt-key add - | |
apt-get update | |
apt-get install virtualbox-5.2 -y | |
rm -rf /var/lib/apt/lists/* |
Vagrant.configure("2") do |config| | |
config.vm.box = "debian/contrib-stretch64" | |
config.vm.provision "shell", path: "provision.sh", privileged: true | |
end |