forked from inasafe/inasafe-doc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
20 lines (18 loc) · 671 Bytes
/
Copy pathVagrantfile
File metadata and controls
20 lines (18 loc) · 671 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("1") do |config|
# v1 configs...
# I cant find the proper way to set up bridged networking in the v2 docs
config.vm.network :bridged, :bridge => "eth0"
end
Vagrant.configure("2") do |config|
# v2 configs...
config.vm.box = "Ubuntu precise 64"
config.vm.hostname = "vagrant-inasafe-doc"
config.vm.network :public_network
config.vm.network :forwarded_port, guest: 80, host: 8580
# For jenkins
config.vm.network :forwarded_port, guest: 8080, host: 8680
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.synced_folder "./", "/home/vagrant/dev/python/inasafe-doc"
end