4 Vagrant.configure("2") do |config|
7 config.vm.box = "ubuntu/trusty64"
10 config.vm.network "forwarded_port", guest: 8089, host: 8089
13 # If true, then any SSH connections made will enable agent forwarding.
14 config.ssh.forward_agent = true
16 config.vm.synced_folder ".", "/home/vagrant/Nominatim"
20 # provision using a simple shell script
21 config.vm.provision :shell, :path => "vagrant-provision.sh"
24 # configure shared package cache if possible
25 if Vagrant.has_plugin?("vagrant-cachier")
26 config.cache.enable :apt
27 config.cache.scope = :box
31 config.vm.provider "virtualbox" do |vb|
33 vb.customize ["modifyvm", :id, "--memory", "1024"]
37 # config.vm.provider :digital_ocean do |provider, override|
38 # override.ssh.private_key_path = '~/.ssh/id_rsa'
39 # override.vm.box = 'digital_ocean'
40 # override.vm.box_url = "https://github.com/smdahlen/vagrant-digitalocean/raw/master/box/digital_ocean.box"
43 # # provider.token = 'YOUR TOKEN'
44 # provider.image = 'ubuntu-14-04-x64'
45 # provider.region = 'nyc2'
46 # provider.size = '512mb'