ctf-tools/Vagrantfile

18 lines
504 B
Ruby
Raw Normal View History

2015-12-18 08:04:37 +00:00
# -*- 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