forked from katerina7479/pypdflite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
22 lines (15 loc) · 764 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu-trusty"
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.network :private_network, ip: "192.168.56.11"
config.ssh.forward_agent = true
config.vm.synced_folder "./", "/projects", :nfs => true
config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--memory", 512]
v.customize ["modifyvm", :id, "--name", "dupexi-box"]
end
#config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.provision "shell", path: "script.sh"
end