-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #565 from tas50/master
Add new omios box for r151018
- Loading branch information
Showing
1 changed file
with
235 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-r151018", | ||
"build_timestamp": "{{isotime \"20060102150405\"}}", | ||
"git_revision": "__unknown_git_revision__", | ||
"headless": "", | ||
"http_proxy": "{{env `http_proxy`}}", | ||
"https_proxy": "{{env `https_proxy`}}", | ||
"iso_checksum": "562f0e35010717c43169bb2dc15169ec08c62bbf", | ||
"iso_checksum_type": "sha1", | ||
"iso_name": "OmniOS_Text_r151018.iso", | ||
"metadata": "floppy/dummy_metadata.json", | ||
"mirror": "http://omnios.omniti.com", | ||
"mirror_directory": "media", | ||
"name": "omnios-r151018", | ||
"no_proxy": "{{env `no_proxy`}}", | ||
"template": "omnios-r151018", | ||
"version": "2.2.TIMESTAMP" | ||
} | ||
} |