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