-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindows2019core.json
41 lines (38 loc) · 1.24 KB
/
windows2019core.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
{
"variables": {
"vm_name": "Packer_Win2019",
"iso_checksum_type": "sha256",
"iso_checksum": "DB8A91E451DB99193D6E371A9668C486D5B1013DBF02ABDC5D301BA06F29341B",
"iso_url": "/Users/gary/iso/en_windows_server_2019_updated_april_2020_x64_dvd_12d6dc63.iso",
"winrm_password" : "Passw0rd",
"winrm_username" : "Administrator"
},
"builders": [
{
"type": "vmware-iso",
"vm_name":"{{user `vm_name`}}",
"communicator": "winrm",
"winrm_username": "{{user `winrm_username`}}",
"winrm_password": "{{user `winrm_password`}}",
"winrm_timeout": "4h",
"iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_checksum": "{{user `iso_checksum`}}",
"iso_url": "{{user `iso_url`}}",
"boot_wait": "15s",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"guest_os_type": "windows9srv-64",
"disk_size": 40960,
"cpus": 2,
"memory": 2048,
"floppy_files": [
"./http/autounattend.xml",
"./scripts/disable-screensaver.ps1",
"./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1"
],
"version": 15,
"disk_adapter_type": "lsisas1068"
}]
}