-
Notifications
You must be signed in to change notification settings - Fork 250
/
hyperv-2012r2.json
47 lines (47 loc) · 1.46 KB
/
hyperv-2012r2.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
{
"builders": [
{
"type": "hyperv-iso",
"guest_additions_mode": "disable",
"ram_size": 2048,
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "sha1",
"communicator": "winrm",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "12h",
"shutdown_command": "a:/PackerShutdown.bat",
"shutdown_timeout": "15m",
"switch_name": "internal_switch",
"floppy_files": [
"answer_files/2012_r2{{user `core`}}/Autounattend.xml",
"scripts/postunattend.xml",
"scripts/boxstarter.ps1",
"scripts/PackerShutdown.bat",
"scripts/package.ps1",
"scripts/SetupComplete-2012.cmd",
"scripts/Test-Command.ps1"
]
}
],
"provisioners": [
{
"type": "powershell",
"script": "scripts/provision.ps1"
}
],
"post-processors": [
[{
"type": "vagrant",
"keep_input_artifact": true,
"output": "windows2012r2min-{{.Provider}}.box",
"vagrantfile_template": "vagrantfile-windows.template"
}]
],
"variables": {
"core": "",
"iso_checksum": "849734f37346385dac2c101e4aacba4626bb141c",
"iso_url": "http://care.dlservice.microsoft.com/dl/download/6/2/A/62A76ABB-9990-4EFC-A4FE-C7D698DAEB96/9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9.ISO"
}
}