forked from boxcutter/windows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eval-win7x64-enterprise-ssh.json
215 lines (214 loc) · 6.56 KB
/
eval-win7x64-enterprise-ssh.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
{
"builders": [
{
"disk_size": "{{user `disk_size`}}",
"floppy_files": [
"floppy/win7x64-enterprise/Autounattend.xml",
"floppy/00-run-all-scripts.cmd",
"floppy/install-winrm.cmd",
"floppy/fixnetwork.ps1",
"floppy/powerconfig.bat",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/passwordchange.bat",
"floppy/networkprompt.bat",
"floppy/disablewinupdate.bat",
"floppy/openssh.bat",
"floppy/upgrade-wua.bat",
"floppy/zz-start-transports.cmd"
],
"guest_os_type": "windows7-64",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"tools_upload_flavor": "windows",
"type": "vmware-iso",
"vm_name": "eval-win7x64-enterprise-ssh",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "{{ user `memory` }}",
"numvcpus": "{{ user `cpus` }}"
}
},
{
"disk_size": "{{user `disk_size`}}",
"floppy_files": [
"floppy/win7x64-enterprise/Autounattend.xml",
"floppy/00-run-all-scripts.cmd",
"floppy/install-winrm.cmd",
"floppy/fixnetwork.ps1",
"floppy/powerconfig.bat",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/passwordchange.bat",
"floppy/networkprompt.bat",
"floppy/disablewinupdate.bat",
"floppy/openssh.bat",
"floppy/upgrade-wua.bat",
"floppy/zz-start-transports.cmd",
"floppy/oracle-cert.cer"
],
"guest_additions_mode": "attach",
"guest_additions_url": "{{user `guest_additions_url`}}",
"guest_os_type": "Windows7_64",
"hard_drive_interface": "sata",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"post_shutdown_delay": "30s",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"{{ user `memory` }}"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
]
],
"vm_name": "eval-win7x64-enterprise-ssh"
},
{
"disk_size": "{{user `disk_size`}}",
"floppy_files": [
"floppy/win7x64-enterprise/Autounattend.xml",
"floppy/00-run-all-scripts.cmd",
"floppy/install-winrm.cmd",
"floppy/fixnetwork.ps1",
"floppy/powerconfig.bat",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/passwordchange.bat",
"floppy/networkprompt.bat",
"floppy/disablewinupdate.bat",
"floppy/openssh.bat",
"floppy/upgrade-wua.bat",
"floppy/zz-start-transports.cmd"
],
"guest_os_type": "win-7",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"parallels_tools_flavor": "win",
"prlctl": [
[
"set",
"{{.Name}}",
"--memsize",
"{{ user `memory` }}"
],
[
"set",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
]
],
"shutdown_command": "{{ user `shutdown_command`}}",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "parallels-iso",
"vm_name": "eval-win7x64-enterprise-ssh"
},
{
"cpu": "{{ user `cpus` }}",
"disk_size": "{{user `disk_size`}}",
"floppy_files": [
"floppy/win7x64-enterprise/Autounattend.xml",
"floppy/00-run-all-scripts.cmd",
"floppy/install-winrm.cmd",
"floppy/fixnetwork.ps1",
"floppy/powerconfig.bat",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/passwordchange.bat",
"floppy/networkprompt.bat",
"floppy/disablewinupdate.bat",
"floppy/openssh.bat",
"floppy/upgrade-wua.bat",
"floppy/zz-start-transports.cmd"
],
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"ram_size": "{{ user `memory` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_timeout": "10000s",
"type": "hyperv-iso",
"vm_name": "eval-win7x64-enterprise-ssh"
}
],
"post-processors": [
{
"compression_level": 1,
"keep_input_artifact": false,
"output": "box/{{.Provider}}/eval-win7x64-enterprise-ssh-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"type": "vagrant",
"vagrantfile_template": "tpl/vagrantfile-eval-win7x64-enterprise-ssh.tpl"
}
],
"provisioners": [
{
"environment_vars": [
"CM={{user `cm`}}",
"CM_VERSION={{user `cm_version`}}",
"UPDATE={{user `update`}}"
],
"execute_command": "{{.Vars}} cmd /c C:/Windows/Temp/script.bat",
"remote_path": "/tmp/script.bat",
"scripts": [
"script/vagrant.bat",
"script/cmtool.bat",
"script/vmtool.bat",
"script/clean.bat",
"script/ultradefrag.bat",
"script/uninstall-7zip.bat",
"script/sdelete.bat"
],
"type": "shell"
},
{
"inline": [
"rm -f /tmp/script.bat"
],
"type": "shell"
}
],
"variables": {
"cpus": "2",
"memory": "3072",
"guest_additions_url": "",
"cm": "chef",
"cm_version": "",
"disk_size": "40960",
"headless": "false",
"iso_checksum": "15ddabafa72071a06d5213b486a02d5b55cb7070",
"iso_url": "http://care.dlservice.microsoft.com/dl/download/evalx/win7/x64/EN/7600.16385.090713-1255_x64fre_enterprise_en-us_EVAL_Eval_Enterprise-GRMCENXEVAL_EN_DVD.iso",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c 'Packer Shutdown'",
"update": "true",
"version": "0.1.0"
}
}