- config.vm.define "centos" do |sub|
- sub.vm.box = "bento/centos-7.2"
- sub.vm.provision :shell, :path => "vagrant/install-on-centos-7.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