-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
37 lines (29 loc) · 1.17 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "precise64"
# The URL to a precise64 box, if it doesn't already exist on the system,
# it will be downloaded.
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.ssh.forward_agent = true
config.vm.define :draftin do |web|
# This is the IP we will use to access the VM while it's running.
# It's currently allocated to the department of defense, so we
# have no worries about it being a real IP
web.vm.network :private_network, ip: "54.54.54.11"
# Initially, this will be disabled unless needed. Uncomment this
# line below to activate it.
web.vm.network :public_network
web.vm.network :forwarded_port, guest: 3000, host: 3000
# Start the shell provisioner, which configures the machine for
# use.
web.vm.provision :shell, :path => "provision.sh"
# For Virtualbox, we want to use more memory.
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--memory", 512]
end
config.vm.provider "vmware_fusion" do |v|
web.vm.synced_folder ".", "/vagrant", :nfs => true
end
end
end