forked from mh-cbon/go-msi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
29 lines (25 loc) · 1.1 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# on fedora-like, you must use the downloadable package of vagrant
# available on hashi corp website.
# The per distrib provided package wont provide winrm support..
# see https://www.vagrantup.com/downloads.html
config.vm.define :win2012 do |win|
win.vm.box = "opentable/win-2012r2-standard-amd64-nocm"
# big timeout since windows boot is very slow
win.vm.boot_timeout = 500
win.vm.communicator = :winrm
win.vm.provider "virtualbox" do |vb|
# first setup requires gui to be enabled so scripts can be executed in virtualbox guest screen
vb.gui = false
vb.gui = true
vb.customize ["modifyvm", :id, "--memory", "1524"]
vb.customize ["modifyvm", :id, "--vram", "128"]
vb.customize ["modifyvm", :id, "--cpus", "1"]
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.customize ["guestproperty", "set", :id, "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold", 10000]
end
end
end