-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathvirtualbox_windows_server_2016_1_base.json
61 lines (61 loc) · 1.57 KB
/
virtualbox_windows_server_2016_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
{
"builders": [
{
"type": "virtualbox-iso",
"output_directory": "./output-base/",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"2048"
],
[
"modifyvm",
"{{.Name}}",
"--vram",
"128"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"1"
]
],
"vm_name": "vbox-base",
"guest_additions_mode": "disable",
"guest_os_type": "Windows2012_64",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_checksum": "{{user `iso_checksum`}}",
"disk_size": "60000",
"headless": true,
"communicator": "winrm",
"winrm_username": "vagrant",
"winrm_password": "vagrant",
"winrm_timeout": "8h",
"shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"shutdown_timeout": "15m",
"floppy_files": [
"answer_files/2016/Autounattend.xml",
"scripts/oracle.cer",
"./scripts/bootstrap.ps1",
"./scripts/unattend.xml"
]
}
],
"provisioners": [
{
"type": "powershell",
"elevated_user": "vagrant",
"elevated_password": "vagrant",
"script": "./scripts/windows-base.ps1"
}
],
"variables": {
"iso_url": "https://software-download.microsoft.com/download/pr/Windows_Server_2016_Datacenter_EVAL_en-us_14393_refresh.ISO",
"iso_checksum_type": "md5",
"iso_checksum": "70721288bbcdfe3239d8f8c0fae55f1f"
}
}