Skip to content

Commit 5915e10

Browse files
committed
Add Vagrantfile
1 parent 70c6083 commit 5915e10

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Vagrantfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# -*- mode: ruby -*-
2+
# vi: set ft=ruby :
3+
4+
$bootstrap = <<SCRIPT
5+
sudo apt-get update
6+
sudo apt-get -fuy -o Dpkg::Options::='--force-confold' install git
7+
8+
git clone https://github.com/zardus/ctf-tools.git /home/vagrant/ctf-tools/
9+
/home/vagrant/ctf-tools/bin/manage-tools -s setup
10+
SCRIPT
11+
12+
Vagrant.configure(2) do |config|
13+
config.vm.box = "ubuntu/trusty64"
14+
config.vm.hostname = "ctf-tools"
15+
config.vm.provision "shell", privileged: false, inline: $bootstrap
16+
config.vbguest.installer_arguments = []
17+
end

0 commit comments

Comments
 (0)