ctf-tools/Vagrantfile
2015-12-18 00:04:37 -08:00

17 lines
504 B
Ruby

# -*- 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