-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathwindows-2012r2-puppet4.json
46 lines (46 loc) · 1.27 KB
/
windows-2012r2-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
{
"builders": [
{
"type": "vmware-vmx",
"source_path": "./packer-windows-2012r2-vmware/windows-2012r2.vmx",
"boot_wait": "1m",
"communicator": "winrm",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "8h",
"output_directory": "packer-{{user `template`}}-vmware",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "480",
"numvcpus": "1",
"ethernet0.virtualDev": "vmxnet3",
"virtualHW.version": "11"
}
}
],
"provisioners": [
{
"type": "powershell",
"elevated_user": "vagrant",
"elevated_password": "vagrant",
"script": "./scripts/windows/install_puppet.ps1"
}
],
"post-processors": [
{
"type": "vagrant",
"keep_input_artifact": true,
"output": "builds/{{ user `box_basename` }}.{{.Provider}}.box"
}
],
"variables": {
"name": "windows-2012r2-puppet4",
"build_timestamp": "{{isotime \"2006-01-02\"}}",
"headless": "",
"http_proxy": "{{env `http_proxy`}}",
"https_proxy": "{{env `https_proxy`}}",
"no_proxy": "{{env `no_proxy`}}",
"template": "windows-2012r2-puppet4"
}
}