mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-04 02:09:11 +00:00
Add Vagrantfile
This commit is contained in:
parent
70c608331e
commit
5915e10163
1 changed files with 17 additions and 0 deletions
17
Vagrantfile
vendored
Normal file
17
Vagrantfile
vendored
Normal 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
|
Loading…
Reference in a new issue