github.com/observiq/bindplane-agent@v1.51.0/windows/Vagrantfile (about) 1 Vagrant.configure("2") do |config| 2 config.vm.define :win2012 do |win| 3 win.vm.box = "devopsgroup-io/windows_server-2012r2-standard-amd64-nocm" 4 win.vm.boot_timeout = 500 5 win.vm.communicator = :winrm 6 win.vm.provider "virtualbox" do |vb| 7 # first setup requires gui to be enabled so scripts can be executed in virtualbox guest screen 8 vb.gui = false 9 vb.gui = true 10 vb.customize ["modifyvm", :id, "--memory", "4096"] 11 vb.customize ["modifyvm", :id, "--vram", "128"] 12 vb.customize ["modifyvm", :id, "--cpus", "2"] 13 vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"] 14 vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] 15 vb.customize ["guestproperty", "set", :id, "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold", 10000] 16 end 17 end 18 end