Add Vagrantfile

This commit is contained in:
Kevin Borgolte 2015-12-18 00:04:37 -08:00
parent 70c608331e
commit 5915e10163

17
Vagrantfile vendored Normal file
View file

@ -0,0 +1,17 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
$bootstrap = <<SCRIPT
sudo apt-get update
sudo apt-get -fuy -o Dpkg::Options::='--force-confold' install git
git clone https://github.com/zardus/ctf-tools.git /home/vagrant/ctf-tools/
/home/vagrant/ctf-tools/bin/manage-tools -s setup
SCRIPT
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.hostname = "ctf-tools"
config.vm.provision "shell", privileged: false, inline: $bootstrap
config.vbguest.installer_arguments = []
end