easyctf-2017/Vagrantfile

22 lines
716 B
Text
Raw Normal View History

2015-12-21 07:04:00 +00:00
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
# config.vm.box_check_update = false
config.vm.network :forwarded_port, guest: 80, host: 8080, auto_correct: true
config.vm.network :forwarded_port, guest: 8000, host: 8000, auto_correct: true
config.vm.network :forwarded_port, guest: 27017, host: 27017, auto_correct: true
config.vm.synced_folder "server", "/home/vagrant/server"
config.vm.synced_folder "scripts", "/home/vagrant/scripts"
config.vm.provision :shell, :path => "scripts/setup.sh"
config.ssh.forward_agent = true
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "2048"]
end
end