4 Vagrant.configure("2") do |config|
6 config.vm.network "forwarded_port", guest: 80, host: 8089
8 # If true, then any SSH connections made will enable agent forwarding.
9 config.ssh.forward_agent = true
12 if ENV['CHECKOUT'] != 'y' then
13 config.vm.synced_folder ".", "/home/vagrant/Nominatim"
17 config.vm.define "ubuntu", primary: true do |sub|
18 sub.vm.box = "bento/ubuntu-18.04"
19 sub.vm.provision :shell do |s|
20 s.path = "vagrant/Install-on-Ubuntu-18.sh"
26 config.vm.define "ubuntu18nginx" do |sub|
27 sub.vm.box = "bento/ubuntu-18.04"
28 sub.vm.provision :shell do |s|
29 s.path = "vagrant/Install-on-Ubuntu-18-nginx.sh"
35 config.vm.define "ubuntu16" do |sub|
36 sub.vm.box = "bento/ubuntu-16.04"
37 sub.vm.provision :shell do |s|
38 s.path = "vagrant/Install-on-Ubuntu-16.sh"
44 config.vm.define "travis" do |sub|
45 sub.vm.box = "bento/ubuntu-14.04"
46 sub.vm.provision :shell do |s|
47 s.path = "vagrant/install-on-travis-ci.sh"
53 config.vm.define "centos" do |sub|
54 sub.vm.box = "centos/7"
55 sub.vm.provision :shell do |s|
56 s.path = "vagrant/Install-on-Centos-7.sh"
60 sub.vm.synced_folder ".", "/home/vagrant/Nominatim", disabled: true
61 sub.vm.synced_folder ".", "/vagrant", disabled: true
64 config.vm.provider "virtualbox" do |vb|
67 vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate//vagrant","0"]