-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathvb-win2016-devtools.json
54 lines (54 loc) · 1.24 KB
/
vb-win2016-devtools.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
50
51
52
53
54
{
"variables": {
"os_name": "win2016",
"image_name": "std-dev",
"source_path": "./output-win2016-base/WindowsServer2016.ovf",
"headless": "false"
},
"builders": [
{
"type": "virtualbox-ovf",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"2048"
],
[
"modifyvm",
"{{.Name}}",
"--vram",
"48"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"2"
]
],
"source_path": "{{user `source_path`}}",
"vm_name": "{{ user `os_name` }}-{{ user `image_name` }}",
"guest_additions_mode": "disable",
"headless": "{{ user `headless` }}",
"communicator": "winrm",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "1h",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"shutdown_timeout": "1h",
"output_directory": "./output-{{ user `os_name` }}-{{ user `image_name` }}/"
}
],
"provisioners": [
{
"type": "powershell",
"script": "Scripts/Install-DevTools.ps1",
"valid_exit_codes": [
0,
3010
]
}
]
}