Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add templates for Oracle 5.x, 6.x #184

Closed
wants to merge 3 commits into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
4 README.md
@@ -97,7 +97,7 @@ Congratulations! You now have box(es) in the ../builds directory that you can th
### Proprietary Boxes
-** Mac OS X (10.7, 10.8, and 10.9), Red Hat Enterprise Linux, and SUSE Linux Enterprise Server templates are provided; however, their ISOs are not publicly retrievable. The URLs in those templates are bogus. ** For RHEL and SLES, you should substitute your server where you host the ISOs, using the mirror variable as above.
+Mac OS X (10.7, 10.8, and 10.9), Red Hat Enterprise Linux, and SUSE Linux Enterprise Server templates are provided. However, their ISOs are not publicly retrievable and as such, the URLs in those templates are bogus. For RHEL and SLES, you should substitute your server where you host the ISOs, using the mirror variable as above.
#### Mac OS X Boxes
@@ -107,7 +107,7 @@ To build a Mac OS X box, you will need to start with an installer for your desir
$ packer build -var 'iso_checksum=<checksum>' -var 'iso_url=<iso_url>' macosx-10.9.json
-There is a known issue where test-kitchen starts a Mac OS X box correctly, but `vagrant up` fails due to the absence of the HGFS kernel module. This is due to a silent failure during the VMware tools installation and can be corrected by installing the VMware tools on the Mac OS X box manually.
+There is a known issue where [test-kitchen](http://kitchen.ci/) starts a Mac OS X box correctly, but `vagrant up` fails due to the absence of the HGFS kernel module. This is due to a silent failure during the VMware tools installation and can be corrected by installing the VMware tools on the Mac OS X box manually.
### Veewee Definitions
View
15 packer/http/centos-5.10/ks.cfg
@@ -22,16 +22,19 @@ user --name=vagrant --password vagrant
%packages --nobase --ignoremissing --excludedocs
# vagrant needs this to copy initial files via scp
openssh-clients
-sudo
-kernel-headers
-kernel-devel
+openssh-server
+bzip2
+curl
+dhclient
gcc
+kernel-devel
+kernel-headers
make
+nfs-utils
perl
-curl
+sudo
wget
-bzip2
-nfs-utils
+yum
-fprintd-pam
-intltool
-avahi
View
94 packer/oracle-5.10-i386.json
@@ -0,0 +1,94 @@
+{
+ "builders": [
+ {
+ "boot_command": [
+ "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-5.10/ks.cfg<enter><wait>"
+ ],
+ "boot_wait": "10s",
+ "disk_size": 40960,
+ "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
+ "guest_os_type": "Oracle",
+ "http_directory": "http",
+ "iso_checksum": "5a9216dd69f17b9dd8f64ed539629741",
+ "iso_checksum_type": "md5",
+ "iso_url": "{{user `mirror`}}/Enterprise-R5-U10-Server-i386-dvd.iso",
+ "output_directory": "packer-oracle-5.10-i386-virtualbox",
+ "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
+ "ssh_password": "vagrant",
+ "ssh_port": 22,
+ "ssh_username": "vagrant",
+ "ssh_wait_timeout": "10000s",
+ "type": "virtualbox-iso",
+ "vboxmanage": [
+ [
+ "modifyvm",
+ "{{.Name}}",
+ "--memory",
+ "384"
+ ],
+ [
+ "modifyvm",
+ "{{.Name}}",
+ "--cpus",
+ "1"
+ ]
+ ],
+ "virtualbox_version_file": ".vbox_version",
+ "vm_name": "packer-oracle-5.10-i386"
+ },
+ {
+ "boot_command": [
+ "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-5.10/ks.cfg<enter><wait>"
+ ],
+ "boot_wait": "10s",
+ "disk_size": 40960,
+ "guest_os_type": "oraclelinux",
+ "http_directory": "http",
+ "iso_checksum": "5a9216dd69f17b9dd8f64ed539629741",
+ "iso_checksum_type": "md5",
+ "iso_url": "{{user `mirror`}}/Enterprise-R5-U10-Server-i386-dvd.iso",
+ "output_directory": "packer-oracle-5.10-i386-vmware",
+ "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
+ "ssh_password": "vagrant",
+ "ssh_port": 22,
+ "ssh_username": "vagrant",
+ "ssh_wait_timeout": "10000s",
+ "tools_upload_flavor": "linux",
+ "type": "vmware-iso",
+ "vm_name": "packer-oracle-5.10-i386",
+ "vmx_data": {
+ "cpuid.coresPerSocket": "1",
+ "memsize": "384",
+ "numvcpus": "1"
+ }
+ }
+ ],
+ "post-processors": [
+ {
+ "output": "../builds/{{.Provider}}/opscode_oracle-5.10-i386_chef-{{user `chef_version`}}.box",
+ "type": "vagrant"
+ }
+ ],
+ "provisioners": [
+ {
+ "environment_vars": [
+ "CHEF_VERSION={{user `chef_version`}}"
+ ],
+ "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
+ "scripts": [
+ "scripts/common/vagrant.sh",
+ "scripts/common/sshd.sh",
+ "scripts/common/vmtools.sh",
+ "scripts/common/chef.sh",
+ "scripts/centos/cleanup.sh",
+ "scripts/common/minimize.sh"
+ ],
+ "type": "shell"
+ }
+ ],
+ "variables": {
+ "chef_version": "provisionerless",
+ "mirror": "http://mirrors.dotsrc.org/oracle-linux/EL5/U10/i386"
+ }
+}
+
View
94 packer/oracle-5.10-x86_64.json
@@ -0,0 +1,94 @@
+{
+ "builders": [
+ {
+ "boot_command": [
+ "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-5.10/ks.cfg<enter><wait>"
+ ],
+ "boot_wait": "10s",
+ "disk_size": 40960,
+ "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
+ "guest_os_type": "Oracle_64",
+ "http_directory": "http",
+ "iso_checksum": "1aa0a1246b1a55108abf20aa2bcac00e",
+ "iso_checksum_type": "md5",
+ "iso_url": "{{user `mirror`}}/Enterprise-R5-U10-Server-x86_64-dvd.iso",
+ "output_directory": "packer-oracle-5.10-x86_64-virtualbox",
+ "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
+ "ssh_password": "vagrant",
+ "ssh_port": 22,
+ "ssh_username": "vagrant",
+ "ssh_wait_timeout": "10000s",
+ "type": "virtualbox-iso",
+ "vboxmanage": [
+ [
+ "modifyvm",
+ "{{.Name}}",
+ "--memory",
+ "384"
+ ],
+ [
+ "modifyvm",
+ "{{.Name}}",
+ "--cpus",
+ "1"
+ ]
+ ],
+ "virtualbox_version_file": ".vbox_version",
+ "vm_name": "packer-oracle-5.10-x86_64"
+ },
+ {
+ "boot_command": [
+ "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-5.10/ks.cfg<enter><wait>"
+ ],
+ "boot_wait": "10s",
+ "disk_size": 40960,
+ "guest_os_type": "oraclelinux-64",
+ "http_directory": "http",
+ "iso_checksum": "1aa0a1246b1a55108abf20aa2bcac00e",
+ "iso_checksum_type": "md5",
+ "iso_url": "{{user `mirror`}}/Enterprise-R5-U10-Server-x86_64-dvd.iso",
+ "output_directory": "packer-oracle-5.10-x86_64-vmware",
+ "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
+ "ssh_password": "vagrant",
+ "ssh_port": 22,
+ "ssh_username": "vagrant",
+ "ssh_wait_timeout": "10000s",
+ "tools_upload_flavor": "linux",
+ "type": "vmware-iso",
+ "vm_name": "packer-oracle-5.10-x86_64",
+ "vmx_data": {
+ "cpuid.coresPerSocket": "1",
+ "memsize": "384",
+ "numvcpus": "1"
+ }
+ }
+ ],
+ "post-processors": [
+ {
+ "output": "../builds/{{.Provider}}/opscode_oracle-5.10_chef-{{user `chef_version`}}.box",
+ "type": "vagrant"
+ }
+ ],
+ "provisioners": [
+ {
+ "environment_vars": [
+ "CHEF_VERSION={{user `chef_version`}}"
+ ],
+ "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
+ "scripts": [
+ "scripts/common/vagrant.sh",
+ "scripts/common/sshd.sh",
+ "scripts/common/vmtools.sh",
+ "scripts/common/chef.sh",
+ "scripts/centos/cleanup.sh",
+ "scripts/common/minimize.sh"
+ ],
+ "type": "shell"
+ }
+ ],
+ "variables": {
+ "chef_version": "provisionerless",
+ "mirror": "http://mirrors.dotsrc.org/oracle-linux/EL5/U10/x86_64"
+ }
+}
+
View
94 packer/oracle-6.5-i386.json
@@ -0,0 +1,94 @@
+{
+ "builders": [
+ {
+ "boot_command": [
+ "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.5/ks.cfg<enter><wait>"
+ ],
+ "boot_wait": "10s",
+ "disk_size": 40960,
+ "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
+ "guest_os_type": "Oracle",
+ "http_directory": "http",
+ "iso_url": "{{user `mirror`}}/OracleLinux-R6-U5-Server-i386-dvd.iso",
+ "iso_checksum": "5bd0a06295a4e50907da16d99a2f6cff54596b30",
+ "iso_checksum_type": "sha1",
+ "output_directory": "packer-oracle-6.5-i386-virtualbox",
+ "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
+ "ssh_password": "vagrant",
+ "ssh_port": 22,
+ "ssh_username": "vagrant",
+ "ssh_wait_timeout": "10000s",
+ "type": "virtualbox-iso",
+ "vboxmanage": [
+ [
+ "modifyvm",
+ "{{.Name}}",
+ "--memory",
+ "480"
+ ],
+ [
+ "modifyvm",
+ "{{.Name}}",
+ "--cpus",
+ "1"
+ ]
+ ],
+ "virtualbox_version_file": ".vbox_version",
+ "vm_name": "packer-oracle-6.5-i386"
+ },
+ {
+ "boot_command": [
+ "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.5/ks.cfg<enter><wait>"
+ ],
+ "boot_wait": "10s",
+ "disk_size": 40960,
+ "guest_os_type": "oraclelinux",
+ "http_directory": "http",
+ "iso_url": "{{user `mirror`}}/OracleLinux-R6-U5-Server-i386-dvd.iso",
+ "iso_checksum": "5bd0a06295a4e50907da16d99a2f6cff54596b30",
+ "iso_checksum_type": "sha1",
+ "output_directory": "packer-oracle-6.5-i386-vmware",
+ "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
+ "ssh_password": "vagrant",
+ "ssh_port": 22,
+ "ssh_username": "vagrant",
+ "ssh_wait_timeout": "10000s",
+ "tools_upload_flavor": "linux",
+ "type": "vmware-iso",
+ "vm_name": "packer-oracle-6.5-i386",
+ "vmx_data": {
+ "cpuid.coresPerSocket": "1",
+ "memsize": "480",
+ "numvcpus": "1"
+ }
+ }
+ ],
+ "post-processors": [
+ {
+ "output": "../builds/{{.Provider}}/opscode_oracle-6.5-i386_chef-{{user `chef_version`}}.box",
+ "type": "vagrant"
+ }
+ ],
+ "provisioners": [
+ {
+ "environment_vars": [
+ "CHEF_VERSION={{user `chef_version`}}"
+ ],
+ "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
+ "scripts": [
+ "scripts/centos/fix-slow-dns.sh",
+ "scripts/common/sshd.sh",
+ "scripts/common/vagrant.sh",
+ "scripts/common/vmtools.sh",
+ "scripts/common/chef.sh",
+ "scripts/centos/cleanup.sh",
+ "scripts/common/minimize.sh"
+ ],
+ "type": "shell"
+ }
+ ],
+ "variables": {
+ "chef_version": "provisionerless",
+ "mirror": "http://mirrors.dotsrc.org/oracle-linux/OL6/U5/i386"
+ }
+}
View
94 packer/oracle-6.5-x86_64.json
@@ -0,0 +1,94 @@
+{
+ "builders": [
+ {
+ "boot_command": [
+ "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.5/ks.cfg<enter><wait>"
+ ],
+ "boot_wait": "10s",
+ "disk_size": 40960,
+ "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
+ "guest_os_type": "Oracle_64",
+ "http_directory": "http",
+ "iso_checksum": "a65041fbe0ba67e3ff6f5f93804a8f47d5b5f132",
+ "iso_checksum_type": "sha1",
+ "iso_url": "{{user `mirror`}}/OracleLinux-R6-U5-Server-x86_64-dvd.iso",
+ "output_directory": "packer-oracle-6.5-x86_64-virtualbox",
+ "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
+ "ssh_password": "vagrant",
+ "ssh_port": 22,
+ "ssh_username": "vagrant",
+ "ssh_wait_timeout": "10000s",
+ "type": "virtualbox-iso",
+ "vboxmanage": [
+ [
+ "modifyvm",
+ "{{.Name}}",
+ "--memory",
+ "480"
+ ],
+ [
+ "modifyvm",
+ "{{.Name}}",
+ "--cpus",
+ "1"
+ ]
+ ],
+ "virtualbox_version_file": ".vbox_version",
+ "vm_name": "packer-oracle-6.5-x86_64"
+ },
+ {
+ "boot_command": [
+ "<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-6.5/ks.cfg<enter><wait>"
+ ],
+ "boot_wait": "10s",
+ "disk_size": 40960,
+ "guest_os_type": "oraclelinux-64",
+ "http_directory": "http",
+ "iso_checksum": "a65041fbe0ba67e3ff6f5f93804a8f47d5b5f132",
+ "iso_checksum_type": "sha1",
+ "iso_url": "{{user `mirror`}}/OracleLinux-R6-U5-Server-x86_64-dvd.iso",
+ "output_directory": "packer-oracle-6.5-x86_64-vmware",
+ "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
+ "ssh_password": "vagrant",
+ "ssh_port": 22,
+ "ssh_username": "vagrant",
+ "ssh_wait_timeout": "10000s",
+ "tools_upload_flavor": "linux",
+ "type": "vmware-iso",
+ "vm_name": "packer-oracle-6.5-x86_64",
+ "vmx_data": {
+ "cpuid.coresPerSocket": "1",
+ "memsize": "480",
+ "numvcpus": "1"
+ }
+ }
+ ],
+ "post-processors": [
+ {
+ "output": "../builds/{{.Provider}}/opscode_oracle-6.5_chef-{{user `chef_version`}}.box",
+ "type": "vagrant"
+ }
+ ],
+ "provisioners": [
+ {
+ "environment_vars": [
+ "CHEF_VERSION={{user `chef_version`}}"
+ ],
+ "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
+ "scripts": [
+ "scripts/centos/fix-slow-dns.sh",
+ "scripts/common/sshd.sh",
+ "scripts/common/vagrant.sh",
+ "scripts/common/vmtools.sh",
+ "scripts/common/chef.sh",
+ "scripts/centos/cleanup.sh",
+ "scripts/common/minimize.sh"
+ ],
+ "type": "shell"
+ }
+ ],
+ "variables": {
+ "chef_version": "provisionerless",
+ "mirror": "http://mirrors.dotsrc.org/oracle-linux/OL6/U5/x86_64"
+ }
+}
Something went wrong with that request. Please try again.