-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathwindows-2012r2-choco-puppet4-sql.json
88 lines (87 loc) · 2.55 KB
/
windows-2012r2-choco-puppet4-sql.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
{
"builders": [
{
"type": "virtualbox-ovf",
"source_path": "./packer-windows-2012r2-choco-puppet4-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-puppet4-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": "blobs",
"output_directory": "packer-{{user `template`}}-vmware",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "2048",
"numvcpus": "1",
"scsi0.virtualDev": "lsisas1068",
"scsi0:1.present": "true",
"scsi0:1.startConnected": "TRUE",
"scsi0:1.deviceType": "cdrom-image",
"scsi0:1.filename": "/proj/baseboxes/blobs/sqlserver_2012_ee_sp3.iso"
}
}
],
"post-processors": [
{
"output": "builds/{{user `box_basename`}}.{{.Provider}}.box",
"type": "vagrant",
"keep_input_artifact": true
}
],
"provisioners": [
{
"source": "blobs/ConfigurationFile.ini",
"destination": "c:/users/vagrant/ConfigurationFile.ini",
"type": "file"
},
{
"inline": "cmd.exe /c E:/setup.exe /ConfigurationFile=c:/users/vagrant/ConfigurationFile.ini /Q",
"type": "shell"
},
{
"execute_command": "{{.Vars}} cmd /c C:/Windows/Temp/script.bat",
"remote_path": "/tmp/script.bat",
"scripts": [
"scripts/windows/compact.bat"
],
"type": "shell"
}
],
"variables": {
"box_basename": "windows-2012r2-choco-puppet4-sql",
"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-sql",
"no_proxy": "{{env `no_proxy`}}",
"template": "windows-2012r2-choco-puppet4-sql",
"version": "0.0.TIMESTAMP"
}
}