-
Notifications
You must be signed in to change notification settings - Fork 93
/
vmware-windows-10-amd64.json
83 lines (83 loc) · 2.83 KB
/
vmware-windows-10-amd64.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
{
"variables": {
"vm_name": "windows10",
"cpu": "2",
"ram_size": "2048",
"disk_size": "41440",
"iso_url": "http://care.dlservice.microsoft.com/dl/download/B/8/B/B8B452EC-DD2D-4A8F-A88C-D2180C177624/15063.0.170317-1834.RS2_RELEASE_CLIENTENTERPRISEEVAL_OEMRET_X64FRE_EN-US.ISO",
"iso_checksum_type": "sha1",
"iso_checksum": "6C60F91BF0AD7B20F469AB8F80863035C517F34F",
"username" : "vagrant",
"password" : "vagrant"
},
"builders": [
{
"vm_name":"{{user `vm_name`}}",
"type": "vmware-iso",
"boot_wait": "5s",
"disk_size": "{{user `disk_size`}}",
"floppy_files": [
"./windows/windows-10-amd64/autounattend.xml",
"./windows/windows-10-amd64/sysprep-unattend.xml",
"./windows/common/variables.ps1",
"./windows/common/set-power-config.ps1",
"./windows/common/microsoft-updates.ps1",
"./windows/common/win-updates.ps1",
"./windows/common/run-sysprep.ps1",
"./windows/common/run-sysprep.cmd",
"./windows/common/enable-winrm.ps1",
"./windows/common/enable-winrm.task.ps1",
"./windows/common/fixnetwork.ps1",
"./windows/common/elevate.exe",
"./windows/common/sdelete.exe",
"./windows/common/sdelete.ps1",
"./windows/common/Set-ClientWSUSSetting.ps1",
"./windows/common/Set-ClientWSUSSetting.task.ps1"
],
"http_directory": "./windows/common/http/",
"guest_os_type": "windows8srv-64",
"headless": true,
"iso_url": "{{user `iso_url`}}",
"iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_checksum": "{{user `iso_checksum`}}",
"communicator":"winrm",
"winrm_username": "{{user `username`}}",
"winrm_password": "{{user `password`}}",
"winrm_timeout": "4h",
"shutdown_command": "a:\\run-sysprep.cmd",
"skip_compaction": false,
"vmx_data": {
"gui.fitguestusingnativedisplayresolution": "FALSE",
"memsize": "{{user `ram_size`}}",
"numvcpus": "{{user `cpu`}}",
"virtualHW.version": "10",
"scsi0.virtualDev": "pvscsi",
"ethernet0.virtualDev": "vmxnet3",
"ethernet0.present": "TRUE",
"ethernet0.connectionType":"custom",
"ethernet0.vnet":"vmnet8"
}
}],
"provisioners": [{
"type": "powershell",
"elevated_user": "{{user `username`}}",
"elevated_password": "{{user `password`}}",
"scripts": [
"./windows/common/install-7zip.ps1",
"./windows/common/install-vmware-tools.ps1",
"./windows/common/install-chef.ps1",
"./windows/common/compile-dotnet-assemblies.ps1",
"./windows/common/cleanup.ps1",
"./windows/common/ultradefrag.ps1",
"./windows/common/optimize-drive.ps1",
"./windows/common/sdelete.ps1"
]
}],
"post-processors": [
{
"type": "vagrant",
"keep_input_artifact": false,
"output": "{{.Provider}}_windows-10_chef.box"
}
]
}