forked from chef/bento
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsolaris-10.11-x86.json
More file actions
117 lines (117 loc) · 3.53 KB
/
solaris-10.11-x86.json
File metadata and controls
117 lines (117 loc) · 3.53 KB
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
{
"variables": {
"README": "You must download the automated installer iso from the following page, and then place it somewhere that packer can fetch it",
"DOWNLOAD_SITE": "http://www.oracle.com/technetwork/server-storage/solaris10/downloads/index.html",
"mirror": "./packer_cache",
"chef_version": "provisionerless"
},
"provisioners": [
{
"type": "shell",
"execute_command": "/usr/local/bin/sudo {{.Path}}",
"scripts": [
"scripts/solaris10/vmtools.sh",
"scripts/solaris10/minimize.sh"
]
}
],
"builders": [
{
"type": "virtualbox-iso",
"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"
],
"floppy_files": [
"floppy/solaris10/sysidcfg",
"floppy/solaris10/awesome_prof",
"floppy/solaris10/rules.ok",
"floppy/solaris10/S99startup.sh",
"floppy/solaris10/finish.sh"
],
"boot_wait": "5s",
"disk_size": 20000,
"guest_os_type": "Solaris_64",
"http_directory": "http/solaris-10",
"iso_checksum": "aae1452bb3d56baa3dcb8866ce7e4a08",
"iso_checksum_type": "md5",
"iso_url": "{{user `mirror`}}/sol-10-u11-ga-x86-dvd.iso",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "50000s",
"shutdown_command": "/usr/local/bin/sudo /usr/sbin/init 5",
"shutdown_timeout": "10m",
"guest_additions_mode": "upload",
"virtualbox_version_file": ".vbox_version",
"vm_name": "packer-solaris-10u11-x86_64",
"output_directory": "packer-solaris-10u11-x86_64-virtualbox",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"1536"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"1"
]
]
},
{
"type": "vmware-iso",
"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"
],
"floppy_files": [
"floppy/solaris10/sysidcfg",
"floppy/solaris10/awesome_prof",
"floppy/solaris10/rules.ok",
"floppy/solaris10/S99startup.sh",
"floppy/solaris10/finish.sh"
],
"boot_wait": "5s",
"disk_size": 20000,
"guest_os_type": "solaris10-64",
"http_directory": "http/solaris-10",
"iso_checksum": "aae1452bb3d56baa3dcb8866ce7e4a08",
"iso_checksum_type": "md5",
"iso_url": "{{user `mirror`}}/sol-10-u11-ga-x86-dvd.iso",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "50000s",
"shutdown_command": "/usr/local/bin/sudo /usr/sbin/init 5",
"shutdown_timeout": "10m",
"vm_name": "packer-solaris-10u11-x86_64",
"output_directory": "packer-solaris-10u11-x86_64-vmware",
"tools_upload_flavor": "solaris",
"tools_upload_path": "/home/vagrant/solaris.iso",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "1536",
"numvcpus": "1"
}
}
],
"post-processors": [
{
"output": "builds/{{.Provider}}/opscode_solaris-10.11_chef-{{user `chef_version`}}.box",
"type": "vagrant"
}
]
}