forked from ehazlett/shipyard
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Vagrantfile
28 lines (25 loc) · 889 Bytes
/
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.box = "raring64"
config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.provision :shell, :path => "provision.sh"
config.vm.customize ["modifyvm", :id, "--memory", 2048]
config.ssh.forward_agent = true
config.vm.forward_port 8000, 8000
config.vm.define :shipyard do |pm_config|
pm_config.vm.host_name = "shipyard.local"
pm_config.vm.network :hostonly, "10.10.10.25"
pm_config.vm.share_folder "shipyard", "/opt/app", "./"
end
end
Vagrant.configure("2") do |config|
config.vm.provider :vmware_fusion do |v|
config.vm.define :shipyard do |s|
v.vmx["memsize"] = "2048"
end
config.vm.define :shipyard do |s|
v.vmx["displayName"] = "shipyard"
end
end
end