mirror of
https://github.com/zardus/ctf-tools
synced 2024-11-14 01:37:06 +00:00
17 lines
504 B
Ruby
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
|