-
Notifications
You must be signed in to change notification settings - Fork 2
/
Vagrantfile
27 lines (21 loc) · 864 Bytes
/
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
Vagrant.configure("2") do |config|
config.vm.box = "deargle/vuln-windows-2019"
config.vm.provider "libvirt" do |libvirt|
libvirt.cpus = 4
libvirt.memory = 4096
libvirt.management_network_name = 'vagrant-libvirt'
libvirt.management_network_autostart = true
end
# to trigger, run `vagrant provision --provision-with install-word`
config.vm.provision "install-word", type: "shell", run: "never", path: "build/scripts/chocolatey-installs/install-word.ps1"
# to trigger, run `vagrant provision --provision-with reboot`
config.vm.provision "reboot", type: "shell", run: "never" do |s|
s.inline = "echo 'rebooting'"
s.reboot = true
end
# to trigger, run `vagrant provision --provision-with rearm`
config.vm.provision "rearm", type: "shell", run: "never" do |s|
s.inline = "slmgr /rearm"
s.reboot = true
end
end