-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindows_10.json
47 lines (40 loc) · 1.07 KB
/
windows_10.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
{
"builders": [
{
"type": "hyperv-iso",
"iso_url": "{{user `iso_url`}}",
"iso_checksum": "{{user `iso_checksum`}}",
"iso_checksum_type": "{{user `iso_checksum_type`}}",
"cpus": 2,
"memory": 4096,
"disk_size": "{{user `disk_size`}}",
"communicator": "winrm",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "{{user `winrm_timeout`}}",
"floppy_files": [
"{{user `autounattend`}}",
"./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1",
"./scripts/fixnetwork.ps1",
"./scripts/unattend.xml"
]
}
],
"provisioners": [
{
"type": "powershell",
"inline": [
"& $env:SystemRoot\\System32\\Sysprep\\sysprep.exe /oobe /generalize /quiet /shutdown"
]
}
],
"variables": {
"autounattend": "./answer_files/10/Autounattend.xml",
"disk_size": "61440",
"iso_url": "",
"iso_checksum": "",
"iso_checksum_type": "",
"winrm_timeout": "6h"
}
}