forked from jshield/packer-windows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwin7x86-pro.json
60 lines (60 loc) · 1.76 KB
/
win7x86-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
{
"builders": [
{
"type": "vmware-iso",
"vm_name": "{{ user `vm_name` }}",
"version" : 8,
"output_directory":"build/{{ user `vm_name` }}",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum_type": "{{ user `iso_checksum_type` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"headless": "{{ user `headless` }}",
"boot_wait": "2m",
"communicator": "winrm",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "8h",
"shutdown_timeout": "1h",
"shutdown_command": "{{ user `shutdown_command`}}",
"guest_os_type": "windows7",
"disk_size": "{{ user `disk_size` }}",
"disk_type_id":"0",
"floppy_files": [
"floppy/win7x86-pro/Autounattend.xml",
"scripts/dis-updates.ps1",
"scripts/hotfix-KB3102810.bat",
"scripts/microsoft-updates.bat",
"scripts/win-updates.ps1",
"scripts/init.bat",
"scripts/winrm.bat"
],
"vmdk_name": "{{ user `vm_name` }}",
"vmx_data": {
"mks.enable3d": "true",
"memsize": "2048",
"numvcpus": "1",
"scsi0.virtualDev": "lsisas1068",
"gui.applyHostDisplayScalingToGuest": "false"
}
}
],
"provisioners": [
{
"type": "windows-shell",
"scripts": [
"scripts/vmtools.bat",
"scripts/enable-rdp.bat",
"scripts/powerconfig.bat"
]
}
],
"variables": {
"vm_name": "win7x86-pro",
"headless": "false",
"disk_size": "131072",
"iso_checksum": "bfd568f6fd833ed5ccf6794844d46517662e40a3",
"iso_checksum_type": "sha1",
"iso_url": "iso/en_windows_7_with_sp1_x86_dvd_u_677460.iso",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\""
}
}