forked from puphpet/bento
-
Notifications
You must be signed in to change notification settings - Fork 0
/
windows-nano-tp3.json
82 lines (82 loc) · 2.33 KB
/
windows-nano-tp3.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
{
"builders": [{
"communicator": "winrm",
"disk_size": "{{user `disk_size`}}",
"floppy_files": [
"scripts/windows/Autounattend.xml",
"scripts/windows/nano_create.ps1",
"scripts/windows/nano_cleanup.ps1",
"scripts/windows/SetupComplete.cmd",
"scripts/windows/postunattend.xml"
],
"guest_additions_mode": "disable",
"guest_os_type": "Windows2012_64",
"headless": "{{ user `headless` }}",
"iso_url": "{{ user `iso_url` }}",
"iso_checksum": "{{ user `iso_checksum` }}",
"iso_checksum_type": "{{user `iso_checksum_type`}}",
"output_directory": "packer-{{user `template`}}-virtualbox",
"shutdown_command": "shutdown /r /t 10 /f /d p:4:1 /c \"Packer Shutdown\"",
"shutdown_timeout": "1h",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--natpf1",
"guest_winrm,tcp,,55985,,5985"
],
[
"modifyvm",
"{{.Name}}",
"--memory",
"{{ user `memory` }}"
],
[
"modifyvm",
"{{.Name}}",
"--vram",
"36"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
],
[
"modifyvm",
"{{.Name}}",
"--hardwareuuid",
"02f110e7-369a-4bbc-bbe6-6f0b6864ccb6"
]
],
"virtualbox_version_file": ".vbox_version",
"vm_name": "{{ user `template` }}",
"winrm_password": "vagrant",
"winrm_timeout": "2h",
"winrm_username": "vagrant"
}],
"post-processors": [
{
"type": "vagrant",
"output": "builds/{{user `box_basename`}}.{{.Provider}}.box",
"vagrantfile_template": "vagrantfile_templates/windows-nano.rb"
}
],
"variables": {
"box_basename": "windows-nano",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"cpus": "2",
"disk_size": "61440",
"git_revision": "__unknown_git_revision__",
"headless": "",
"iso_checksum": "7003c2a4f9abe672c570ff018fbf3a27",
"iso_checksum_type": "md5",
"iso_url": "http://care.dlservice.microsoft.com/dl/download/7/3/C/73C250BE-67C4-440B-A69B-D0E8EE77F01C/10514.0.150808-1529.TH2_RELEASE_SERVER_OEMRET_X64FRE_EN-US.ISO",
"memory": "2048",
"metadata": "floppy/dummy_metadata.json",
"template": "windows-nano-tp3",
"version": "1.1.TIMESTAMP"
}
}