-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathwindows-2012r2-choco-puppet4.json
75 lines (74 loc) · 2.05 KB
/
windows-2012r2-choco-puppet4.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"builders": [
{
"type": "virtualbox-ovf",
"source_path": "./packer-windows-2012r2-choco-virtualbox/packer-virtualbox-ovf.ovf",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_wait_timeout": "6h",
"boot_wait": "2m",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"output_directory": "packer-{{user `template`}}-virtualbox",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"2048"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"1"
]
]
},
{
"type": "vmware-vmx",
"source_path": "./packer-windows-2012r2-choco-vmware/packer-vmware-vmx.vmx",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_wait_timeout": "6h",
"boot_wait": "2m",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"http_directory": "http",
"output_directory": "packer-{{user `template`}}-vmware",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "2048",
"numvcpus": "1"
}
}
],
"post-processors": [
{
"output": "builds/{{user `box_basename`}}.{{.Provider}}.box",
"type": "vagrant",
"keep_input_artifact": true
}
],
"provisioners": [
{
"execute_command": "{{.Vars}} cmd /c C:/Windows/Temp/script.bat",
"remote_path": "/tmp/script.bat",
"scripts": [
"scripts/windows/choco-puppet4.bat",
"scripts/windows/compact.bat"
],
"type": "shell"
}
],
"variables": {
"box_basename": "windows-2012r2-choco-puppet4",
"build_timestamp": "{{isotime \"20060102150403\"}}",
"git_revision": "__unknown_git_revision__",
"headless": "",
"http_proxy": "{{env `http_proxy`}}",
"https_proxy": "{{env `https_proxy`}}",
"name": "windows-2012r2-choco-puppet4",
"no_proxy": "{{env `no_proxy`}}",
"template": "windows-2012r2-choco-puppet4",
"version": "0.0.TIMESTAMP"
}
}