Skip to content

Commit

Permalink
Merge pull request #466 from chef/omnios-r151014
Browse files Browse the repository at this point in the history
Adding OmniOS r151014
  • Loading branch information
Seth Thomas committed Oct 6, 2015
2 parents 71eea72 + f3784eb commit c4ceb48
Showing 1 changed file with 235 additions and 0 deletions.
235 changes: 235 additions & 0 deletions omnios-r151014.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,235 @@
{
"builders": [
{
"boot_command": [
"<enter><wait10><wait5>",
"1<enter><wait10>",
"<wait10>",
"<f2><wait>",
"<f2><wait>",
"<f2><wait>",
"<bs><bs><bs><bs><bs><bs><bs>omnios-vagrant",
"<f2><wait>",
"<f2><wait>",
"<f2><wait>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<f8><wait>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"root<enter><wait><enter><wait5>",
"passwd<enter><wait>",
"vagrant<enter><wait>",
"vagrant<enter><wait>",
"ipadm create-if e1000g0<enter><wait>",
"ipadm create-addr -T dhcp e1000g0/v4<enter><wait>",
"echo 'nameserver 8.8.8.8' > /etc/resolv.conf<enter><wait>",
"cp /etc/nsswitch.dns /etc/nsswitch.conf<enter><wait>",
"sed -i -e 's/PermitRootLogin no/PermitRootLogin yes/' /etc/ssh/sshd_config<enter><wait>",
"svcadm restart ssh<enter><wait>"
],
"boot_wait": "30s",
"disk_size": 40960,
"guest_os_type": "OpenSolaris_64",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{user `iso_checksum`}}",
"iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_url": "{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}",
"output_directory": "packer-{{user `template`}}-virtualbox",
"shutdown_command": "/usr/sbin/shutdown -g 0 -y -i 5",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_username": "root",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"1024"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"1"
]
],
"virtualbox_version_file": ".vbox_version",
"vm_name": "{{ user `template` }}"
},
{
"boot_command": [
"<enter><wait10><wait5>",
"1<enter><wait10>",
"<wait10>",
"<f2><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<f2><wait>",
"<f2><wait>",
"<bs><bs><bs><bs><bs><bs><bs>omnios-vagrant",
"<f2><wait>",
"<f2><wait>",
"<f2><wait>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<f8><wait>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"root<enter><wait><enter><wait5>",
"passwd<enter><wait>",
"vagrant<enter><wait>",
"vagrant<enter><wait>",
"ipadm create-if e1000g0<enter><wait>",
"ipadm create-addr -T dhcp e1000g0/v4<enter><wait>",
"echo 'nameserver 8.8.8.8' > /etc/resolv.conf<enter><wait>",
"cp /etc/nsswitch.dns /etc/nsswitch.conf<enter><wait>",
"sed -i -e 's/PermitRootLogin no/PermitRootLogin yes/' /etc/ssh/sshd_config<enter><wait>",
"svcadm restart ssh<enter><wait>"
],
"boot_wait": "30s",
"disk_size": 40960,
"floppy_files": [
"floppy/omnios/README.TXT"
],
"guest_os_type": "solaris11-64",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{user `iso_checksum`}}",
"iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_url": "{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}",
"output_directory": "packer-{{user `template`}}-vmware",
"shutdown_command": "/usr/sbin/shutdown -g 0 -y -i 5",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_username": "root",
"tools_upload_flavor": "solaris",
"type": "vmware-iso",
"vm_name": "{{ user `template` }}",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "1024",
"numvcpus": "1"
}
},
{
"boot_command": [
"<enter><wait10><wait5>",
"1<enter><wait10>",
"<wait10>",
"<f2><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<f2><wait>",
"<f2><wait>",
"<bs><bs><bs><bs><bs><bs><bs>omnios-vagrant",
"<f2><wait>",
"<f2><wait>",
"<f2><wait>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<f8><wait>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"<wait10><wait10><wait10><wait10><wait10><wait10>",
"root<enter><wait><enter><wait5>",
"passwd<enter><wait>",
"vagrant<enter><wait>",
"vagrant<enter><wait>",
"ipadm create-if e1000g0<enter><wait>",
"ipadm create-addr -T dhcp e1000g0/v4<enter><wait>",
"echo 'nameserver 8.8.8.8' > /etc/resolv.conf<enter><wait>",
"cp /etc/nsswitch.dns /etc/nsswitch.conf<enter><wait>",
"sed -i -e 's/PermitRootLogin no/PermitRootLogin yes/' /etc/ssh/sshd_config<enter><wait>",
"svcadm restart ssh<enter><wait>"
],
"boot_wait": "30s",
"disk_size": 40960,
"guest_os_type": "opensolaris",
"hard_drive_interface": "ide",
"iso_checksum": "{{user `iso_checksum`}}",
"iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_url": "{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}",
"output_directory": "packer-{{user `template`}}-parallels",
"parallels_tools_mode": "disable",
"prlctl": [
[
"set",
"{{.Name}}",
"--memsize",
"1024"
],
[
"set",
"{{.Name}}",
"--cpus",
"1"
]
],
"shutdown_command": "/usr/sbin/shutdown -g 0 -y -i 5",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_username": "root",
"type": "parallels-iso",
"vm_name": "{{ user `template` }}"
}
],
"post-processors": [
{
"compression_level": 9,
"output": "builds/{{user `box_basename`}}.{{.Provider}}.box",
"override": {
"parallels": {
"vagrantfile_template": "vagrantfile_templates/parallels/omnios.rb"
}
},
"type": "vagrant"
}
],
"provisioners": [
{
"destination": "/tmp/bento-metadata.json",
"source": "{{user `metadata`}}",
"type": "file"
},
{
"environment_vars": [
"HOME_DIR=/home/vagrant",
"http_proxy={{user `http_proxy`}}",
"https_proxy={{user `https_proxy`}}",
"no_proxy={{user `no_proxy`}}"
],
"execute_command": "export {{.Vars}} && sh '{{.Path}}'",
"scripts": [
"scripts/common/metadata.sh",
"scripts/omnios/vmtools.sh",
"scripts/omnios/postinstall.sh"
],
"type": "shell"
}
],
"variables": {
"arch": "64",
"box_basename": "omnios-r151014",
"build_timestamp": "{{isotime \"20060102150405\"}}",
"git_revision": "__unknown_git_revision__",
"headless": "",
"http_proxy": "{{env `http_proxy`}}",
"https_proxy": "{{env `https_proxy`}}",
"iso_checksum": "2dffd9acda9ad3eb22f0bf6bdff1717b2ee4b8b4",
"iso_checksum_type": "sha1",
"iso_name": "OmniOS_Text_r151014.iso",
"metadata": "floppy/dummy_metadata.json",
"mirror": "http://omnios.omniti.com",
"mirror_directory": "media",
"name": "omnios-r151014",
"no_proxy": "{{env `no_proxy`}}",
"template": "omnios-r151014",
"version": "2.2.TIMESTAMP"
}
}

0 comments on commit c4ceb48

Please sign in to comment.