-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathvirtualbox_windows_10_1_base.json
67 lines (66 loc) · 1.72 KB
/
virtualbox_windows_10_1_base.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
{
"builders": [
{
"communicator": "winrm",
"floppy_files": [
"answer_files/10/Autounattend.xml",
"./scripts/bootstrap.ps1",
"./scripts/oracle.cer",
"./scripts/unattend.xml"
],
"guest_additions_mode": "disable",
"guest_os_type": "Windows10_64",
"headless": true,
"iso_checksum": "{{user `iso_checksum_type`}}:{{user `iso_checksum`}}",
"iso_url": "{{ user `iso_url` }}",
"output_directory": "./output-win10-base/",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"shutdown_timeout": "15m",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--natpf1",
"guest_winrm,tcp,,55985,,5985"
],
[
"modifyvm",
"{{.Name}}",
"--memory",
"4096"
],
[
"modifyvm",
"{{.Name}}",
"--vram",
"128"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"1"
]
],
"vm_name": "win10-base",
"winrm_password": "vagrant",
"winrm_timeout": "8h",
"winrm_username": "vagrant"
}
],
"provisioners": [
{
"elevated_password": "vagrant",
"elevated_user": "vagrant",
"script": "./scripts/windows-base.ps1",
"type": "powershell"
}
],
"variables": {
"autounattend": "./answer_files/10/Autounattend.xml",
"iso_checksum": "b254ba13c50d777e4776a98684e11e11",
"iso_checksum_type": "md5",
"iso_url": "https://software-download.microsoft.com/download/sg/17763.107.101029-1455.rs5_release_svc_refresh_CLIENT_LTSC_EVAL_x64FRE_en-us.iso"
}
}