forked from chef/bento
-
Notifications
You must be signed in to change notification settings - Fork 0
/
solaris-10.11-x86.json
137 lines (137 loc) · 4.2 KB
/
solaris-10.11-x86.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"builders": [
{
"boot_command": [
"e",
"e",
"<left><left><left><left><left><left><left><left><left><left>",
"<left><left><left><left><left><left><left><left><left><left>",
"<left><left><left>",
" - install<enter>",
"b"
],
"boot_wait": "5s",
"disk_size": "{{user `disk_size`}}",
"floppy_files": [
"floppy/solaris10/sysidcfg",
"floppy/solaris10/awesome_prof",
"floppy/solaris10/rules.ok",
"floppy/solaris10/S99startup.sh",
"floppy/solaris10/finish.sh"
],
"guest_additions_mode": "upload",
"guest_os_type": "Solaris_64",
"headless": "{{ user `headless` }}",
"http_directory": "http/solaris-10",
"iso_checksum": "aae1452bb3d56baa3dcb8866ce7e4a08",
"iso_checksum_type": "md5",
"iso_url": "{{user `mirror`}}/sol-10-u11-ga-x86-dvd.iso",
"output_directory": "packer-solaris-10u11-x86_64-virtualbox",
"shutdown_command": "/usr/local/bin/sudo /usr/sbin/init 5",
"shutdown_timeout": "10m",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_username": "vagrant",
"ssh_wait_timeout": "50000s",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"{{ user `memory` }}"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"{{ user `cpus` }}"
]
],
"virtualbox_version_file": ".vbox_version",
"vm_name": "{{ user `template` }}"
},
{
"boot_command": [
"e",
"e",
"<left><left><left><left><left><left><left><left><left><left>",
"<left><left><left><left><left><left><left><left><left><left>",
"<left><left><left>",
" - install<enter>",
"b"
],
"boot_wait": "5s",
"disk_size": "{{user `disk_size`}}",
"floppy_files": [
"floppy/solaris10/sysidcfg",
"floppy/solaris10/awesome_prof",
"floppy/solaris10/rules.ok",
"floppy/solaris10/S99startup.sh",
"floppy/solaris10/finish.sh"
],
"guest_os_type": "solaris10-64",
"headless": "{{ user `headless` }}",
"http_directory": "http/solaris-10",
"iso_checksum": "aae1452bb3d56baa3dcb8866ce7e4a08",
"iso_checksum_type": "md5",
"iso_url": "{{user `mirror`}}/sol-10-u11-ga-x86-dvd.iso",
"output_directory": "packer-solaris-10u11-x86_64-vmware",
"shutdown_command": "/usr/local/bin/sudo /usr/sbin/init 5",
"shutdown_timeout": "10m",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_username": "vagrant",
"ssh_wait_timeout": "50000s",
"tools_upload_flavor": "solaris",
"tools_upload_path": "/home/vagrant/solaris.iso",
"type": "vmware-iso",
"vm_name": "{{ user `template` }}",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "{{ user `memory` }}",
"numvcpus": "{{ user `cpus` }}"
}
}
],
"post-processors": [
{
"output": "builds/{{user `box_basename`}}.{{.Provider}}.box",
"type": "vagrant"
}
],
"provisioners": [
{
"destination": "/tmp/bento-metadata.json",
"source": "{{user `metadata`}}",
"type": "file"
},
{
"environment_vars": [],
"execute_command": "/usr/local/bin/sudo {{.Path}}",
"scripts": [
"scripts/common/metadata.sh",
"scripts/solaris10/vmtools.sh",
"scripts/solaris10/minimize.sh"
],
"type": "shell"
}
],
"variables": {
"_DOWNLOAD_SITE": "http://www.oracle.com/technetwork/server-storage/solaris10/downloads/index.html",
"_README": "You must download the automated installer iso from the following page, and then place it somewhere that packer can fetch it",
"arch": "64",
"box_basename": "solaris-10.11",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"cpus": "1",
"disk_size": "20000",
"git_revision": "__unknown_git_revision__",
"headless": "",
"memory": "1536",
"metadata": "floppy/dummy_metadata.json",
"mirror": "./packer_cache",
"name": "solaris-10.11",
"template": "solaris-10.11-x86",
"version": "2.0.TIMESTAMP"
}
}