- config.vm.define "ubuntu-php7" do |sub|
- sub.vm.box = "ubuntu/trusty64"
- sub.vm.provision :shell, :path => "vagrant/ubuntu-trusty-php7-provision.sh"
+
+ config.vm.provider "virtualbox" do |vb, override|
+ vb.gui = false
+ vb.memory = 2048
+ vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate//vagrant","0"]
+ if ENV['CHECKOUT'] != 'y' then
+ override.vm.synced_folder ".", "/home/vagrant/Nominatim"
+ end