-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathvirtualbox_windows_server_2016_3_package.json
49 lines (49 loc) · 1.29 KB
/
virtualbox_windows_server_2016_3_package.json
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"builders": [
{
"type": "virtualbox-ovf",
"source_path": "./output-updates/vbox-updates.ovf",
"output_directory": "./output-export-vbox/",
"vm_name": "vbox-package-vagrant",
"headless": true,
"vboxmanage": [
[ "modifyvm", "{{.Name}}", "--memory", "2048" ],
[ "modifyvm", "{{.Name}}", "--vram", "128" ],
[ "modifyvm", "{{.Name}}", "--cpus", "1" ]
],
"guest_additions_mode": "attach",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "12h",
"shutdown_command": "C:/Scripts/sysprep.cmd",
"shutdown_timeout": "1h",
"communicator": "winrm"
}
],
"provisioners": [
{
"type": "powershell",
"elevated_user": "vagrant",
"elevated_password": "vagrant",
"script": "./scripts/tools_and_stuff.ps1"
},
{
"type": "windows-restart",
"restart_timeout": "1h"
},
{
"type": "powershell",
"elevated_user": "vagrant",
"elevated_password": "vagrant",
"script": "./scripts/windows-compress.ps1"
}
],
"post-processors": [
{
"type": "vagrant",
"keep_input_artifact": true,
"output": "windows2016_vbox.box",
"vagrantfile_template": "./templates/vagrantfile-windows-2016.template"
}
]
}