-
Notifications
You must be signed in to change notification settings - Fork 22
/
windows2019.json
72 lines (59 loc) · 1.89 KB
/
windows2019.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
{
"builders": [
{
"type": "vsphere-iso",
"vcenter_server": "{{user `vsphere-server`}}",
"username": "{{user `vsphere-user`}}",
"password": "{{user `vsphere-password`}}",
"insecure_connection": "true",
"datacenter": "{{user `vsphere-datacenter`}}",
"cluster": "{{user `vsphere-cluster`}}",
"datastore": "{{user `vsphere-datastore`}}",
"folder": "{{user `vsphere-folder`}}",
"communicator": "winrm",
"winrm_username": "Administrator",
"winrm_password": "{{user `winadmin-password`}}",
"winrm_timeout": "1h30m",
"convert_to_template": "true",
"vm_name": "{{user `vm-name`}}",
"guest_os_type": "windows9Server64Guest",
"CPUs": "{{user `vm-cpu-num`}}",
"RAM": "{{user `vm-mem-size`}}",
"RAM_reserve_all": true,
"firmware": "bios",
"storage": [
{
"disk_size": "{{user `os-disk-size`}}",
"disk_thin_provisioned": "{{user `disk-thin-provision`}}"
}
],
"disk_controller_type": "lsilogic-sas",
"network_adapters": [
{
"network": "{{user `vsphere-network`}}",
"network_card": "vmxnet3"
}
],
"shutdown_command": "shutdown /s /t 5",
"iso_paths": [
"{{user `os_iso_path`}}",
"[] /vmimages/tools-isoimages/windows.iso"
],
"floppy_files": [
"autounattend.xml",
"scripts/disable-network-discovery.cmd",
"scripts/disable-server-manager.ps1",
"scripts/enable-rdp.cmd",
"scripts/enable-winrm.ps1",
"scripts/install-vm-tools.cmd",
"scripts/set-temp.ps1"
]
}
],
"provisioners": [
{
"type": "windows-shell",
"inline": ["ipconfig /all"]
}
]
}