forked from boxcutter/windows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
win81x64-pro.json
168 lines (168 loc) · 4.71 KB
/
win81x64-pro.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
{
"builders": [
{
"communicator": "winrm",
"disk_size": "{{user `disk_size`}}",
"floppy_files": [
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/win81x64-pro/Autounattend.xml",
"floppy/zz-start-sshd.cmd"
],
"guest_os_type": "windows8-64",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"shutdown_command": "{{ user `shutdown_command`}}",
"tools_upload_flavor": "windows",
"type": "vmware-iso",
"vm_name": "win81x64-pro",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "1536",
"numvcpus": "1",
"scsi0.virtualDev": "lsisas1068"
},
"winrm_password": "vagrant",
"winrm_timeout": "10000s",
"winrm_username": "vagrant"
},
{
"communicator": "winrm",
"disk_size": "{{user `disk_size`}}",
"floppy_files": [
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/oracle-cert.cer",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/win81x64-pro/Autounattend.xml",
"floppy/zz-start-sshd.cmd"
],
"guest_os_type": "Windows8_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`}}",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"1536"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"1"
],
[
"setextradata",
"{{.Name}}",
"VBoxInternal/CPUM/CMPXCHG16B",
"1"
]
],
"vm_name": "win81x64-pro",
"winrm_password": "vagrant",
"winrm_timeout": "10000s",
"winrm_username": "vagrant"
},
{
"communicator": "winrm",
"disk_size": "{{user `disk_size`}}",
"floppy_files": [
"floppy/00-run-all-scripts.cmd",
"floppy/01-install-wget.cmd",
"floppy/_download.cmd",
"floppy/_packer_config.cmd",
"floppy/fixnetwork.ps1",
"floppy/install-winrm.cmd",
"floppy/passwordchange.bat",
"floppy/powerconfig.bat",
"floppy/win81x64-pro/Autounattend.xml",
"floppy/zz-start-sshd.cmd"
],
"guest_os_type": "win-8.1",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"iso_url": "{{ user `iso_url` }}",
"parallels_tools_flavor": "win",
"prlctl": [
[
"set",
"{{.Name}}",
"--memsize",
"1536"
],
[
"set",
"{{.Name}}",
"--cpus",
"1"
]
],
"shutdown_command": "{{ user `shutdown_command`}}",
"type": "parallels-iso",
"vm_name": "win81x64-pro",
"winrm_password": "vagrant",
"winrm_timeout": "10000s",
"winrm_username": "vagrant"
}
],
"post-processors": [
{
"compression_level": 1,
"keep_input_artifact": false,
"output": "box/{{.Provider}}/win81x64-pro-{{user `cm`}}{{user `cm_version`}}-{{user `version`}}.box",
"type": "vagrant",
"vagrantfile_template": "tpl/vagrantfile-win81x64-pro.tpl"
}
],
"provisioners": [
{
"environment_vars": [
"CM={{user `cm`}}",
"CM_VERSION={{user `cm_version`}}",
"UPDATE={{user `update`}}"
],
"scripts": [
"script/vagrant.bat",
"script/cmtool.bat",
"script/vmtool.bat",
"script/clean.bat",
"script/ultradefrag.bat",
"script/uninstall-7zip.bat",
"script/sdelete.bat"
],
"type": "windows-shell"
}
],
"variables": {
"cm": "chef",
"cm_version": "",
"disk_size": "40960",
"headless": "false",
"iso_checksum": "e50a6f0f08e933f25a71fbc843827fe752ed0365",
"iso_url": "iso/en_windows_8.1_professional_vl_with_update_x64_dvd_4065194.iso",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"update": "true",
"version": "0.1.0"
}
}