- config.vm.define "ubuntu" do |sub|
- sub.vm.box = "ubuntu/trusty64"
- sub.vm.provision :shell, :path => "vagrant/ubuntu-trusty-provision.sh"
- end
- 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 "hyperv" do |hv, override|
+ hv.memory = 2048
+ hv.linked_clone = true
+ if ENV['CHECKOUT'] != 'y' then
+ override.vm.synced_folder ".", "/home/vagrant/Nominatim", type: "smb", smb_host: ENV['SMB_HOST'] || ENV['COMPUTERNAME']
+ end