-
Notifications
You must be signed in to change notification settings - Fork 18
/
virtualbox_windows_10_3_package.json
68 lines (67 loc) · 1.5 KB
/
virtualbox_windows_10_3_package.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
{
"builders": [
{
"communicator": "winrm",
"floppy_files": [
"./scripts/oracle.cer"
],
"guest_additions_mode": "attach",
"headless": true,
"output_directory": "./output-win10-package/",
"shutdown_command": "C:/Scripts/sysprep.cmd",
"shutdown_timeout": "1h",
"source_path": "./output-win10-updates/win10-updates.ovf",
"type": "virtualbox-ovf",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"4096"
],
[
"modifyvm",
"{{.Name}}",
"--vram",
"128"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"1"
]
],
"vm_name": "win10-package",
"winrm_password": "vagrant",
"winrm_timeout": "12h",
"winrm_username": "vagrant"
}
],
"post-processors": [
{
"keep_input_artifact": true,
"output": "windows10_vbox.box",
"type": "vagrant",
"vagrantfile_template": "./templates/vagrantfile-windows_10.template"
}
],
"provisioners": [
{
"elevated_password": "vagrant",
"elevated_user": "vagrant",
"script": "./scripts/tools_and_stuff.ps1",
"type": "powershell"
},
{
"restart_timeout": "1h",
"type": "windows-restart"
},
{
"elevated_password": "vagrant",
"elevated_user": "vagrant",
"script": "./scripts/windows-compress.ps1",
"type": "powershell"
}
]
}