Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow RHEL mirror URL to be customized at box build time #134

Merged
merged 2 commits into from
Dec 5, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Bento

[![Build Status](https://travis-ci.org/opscode/bento.png)](https://travis-ci.org/opscode/bento)

Bento is a project that encapsulates [Packer](http://packer.io) templates for building
[Vagrant](http://vagrantup.com) baseboxes. We use these boxes internally at Opscode for
testing Hosted Enterprise Chef, Private Enterprise Chef and our open source [cookbooks](http://community.opscode.com/users/Opscode)
via [test-kitchen](http://github.com/opscode/test-kitchen).
via [test-kitchen](http://kitchen.ci/).

## Current Baseboxes

Expand Down
7 changes: 4 additions & 3 deletions packer/rhel-5.10-i386.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"variables": {
"chef_version": "provisionerless"
"chef_version": "provisionerless",
"mirror": "https://content-web.rhn.redhat.com/rhn/isos/rhel-5.10/md5sum/1ab756241a4a209b8d39abe6bace84a9"
},
"builders": [
{
Expand All @@ -15,7 +16,7 @@
"http_directory": "http",
"iso_checksum": "3a4db78ab70d866057c5285e0064d78125e1b8fd9dcaefea28818f6604b3515d",
"iso_checksum_type": "sha256",
"iso_url": "https://content-web.rhn.redhat.com/rhn/isos/rhel-5.10/md5sum/1ab756241a4a209b8d39abe6bace84a9/rhel-server-5.10-i386-dvd.iso",
"iso_url": "{{user `mirror`}}/rhel-server-5.10-i386-dvd.iso",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
Expand All @@ -40,7 +41,7 @@
"http_directory": "http",
"iso_checksum": "3a4db78ab70d866057c5285e0064d78125e1b8fd9dcaefea28818f6604b3515d",
"iso_checksum_type": "sha256",
"iso_url": "https://content-web.rhn.redhat.com/rhn/isos/rhel-5.10/md5sum/1ab756241a4a209b8d39abe6bace84a9/rhel-server-5.10-i386-dvd.iso",
"iso_url": "{{user `mirror`}}/rhel-server-5.10-i386-dvd.iso",
"tools_upload_flavor": "linux",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
Expand Down
7 changes: 4 additions & 3 deletions packer/rhel-5.10-x86_64.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"variables": {
"chef_version": "provisionerless"
"chef_version": "provisionerless",
"mirror": "https://content-web.rhn.redhat.com/rhn/isos/rhel-5.10/md5sum/86cc2d5548ee2ff9c8d3e2b4db3e6001"
},
"builders": [
{
Expand All @@ -15,7 +16,7 @@
"http_directory": "http",
"iso_checksum": "8b38e74b0993d478aad9c950f51a3e3441199639a3422e06fc3beca1f8825bf2",
"iso_checksum_type": "sha256",
"iso_url": "https://content-web.rhn.redhat.com/rhn/isos/rhel-5.10/md5sum/86cc2d5548ee2ff9c8d3e2b4db3e6001/rhel-server-5.10-x86_64-dvd.iso",
"iso_url": "{{user `mirror`}}/rhel-server-5.10-x86_64-dvd.iso",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
Expand All @@ -40,7 +41,7 @@
"http_directory": "http",
"iso_checksum": "8b38e74b0993d478aad9c950f51a3e3441199639a3422e06fc3beca1f8825bf2",
"iso_checksum_type": "sha256",
"iso_url": "https://content-web.rhn.redhat.com/rhn/isos/rhel-5.10/md5sum/86cc2d5548ee2ff9c8d3e2b4db3e6001/rhel-server-5.10-x86_64-dvd.iso",
"iso_url": "{{user `mirror`}}/rhel-server-5.10-x86_64-dvd.iso",
"tools_upload_flavor": "linux",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
Expand Down
7 changes: 4 additions & 3 deletions packer/rhel-6.5-i386.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"variables": {
"chef_version": "provisionerless"
"chef_version": "provisionerless",
"mirror": "https://content-web.rhn.redhat.com/rhn/isos/rhel-6.5/md5sum/04a1fa06a6b7e70cd586535eea83c0ef"
},
"builders": [
{
Expand All @@ -15,7 +16,7 @@
"http_directory": "http",
"iso_checksum": "eec692b436193ba9fc365cafe2b8f85323d98192dc99b23b02ae75045667fe4a",
"iso_checksum_type": "sha256",
"iso_url": "https://content-web.rhn.redhat.com/rhn/isos/rhel-6.5/md5sum/04a1fa06a6b7e70cd586535eea83c0ef/rhel-server-6.5-i386-dvd.iso",
"iso_url": "{{user `mirror`}}/rhel-server-6.5-i386-dvd.iso",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
Expand All @@ -40,7 +41,7 @@
"http_directory": "http",
"iso_checksum": "eec692b436193ba9fc365cafe2b8f85323d98192dc99b23b02ae75045667fe4a",
"iso_checksum_type": "sha256",
"iso_url": "https://content-web.rhn.redhat.com/rhn/isos/rhel-6.5/md5sum/04a1fa06a6b7e70cd586535eea83c0ef/rhel-server-6.5-i386-dvd.iso",
"iso_url": "{{user `mirror`}}/rhel-server-6.5-i386-dvd.iso",
"tools_upload_flavor": "linux",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
Expand Down
7 changes: 4 additions & 3 deletions packer/rhel-6.5-x86_64.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"variables": {
"chef_version": "provisionerless"
"chef_version": "provisionerless",
"mirror": "https://content-web.rhn.redhat.com/rhn/isos/rhel-6.5/md5sum/a84d4d9eddb36fb417832166cd10a4c2"
},
"builders": [
{
Expand All @@ -15,7 +16,7 @@
"http_directory": "http",
"iso_checksum": "a51b90f3dd4585781293ea08adde60eeb9cfa94670943bd99e9c07f13a259539",
"iso_checksum_type": "sha256",
"iso_url": "https://content-web.rhn.redhat.com/rhn/isos/rhel-6.5/md5sum/a84d4d9eddb36fb417832166cd10a4c2/rhel-server-6.5-x86_64-dvd.iso",
"iso_url": "{{user `mirror`}}/rhel-server-6.5-x86_64-dvd.iso",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
"ssh_port": 22,
Expand All @@ -41,7 +42,7 @@
"iso_checksum": "a51b90f3dd4585781293ea08adde60eeb9cfa94670943bd99e9c07f13a259539"
,
"iso_checksum_type": "sha256",
"iso_url": "https://content-web.rhn.redhat.com/rhn/isos/rhel-6.5/md5sum/a84d4d9eddb36fb417832166cd10a4c2/rhel-server-6.5-x86_64-dvd.iso",
"iso_url": "{{user `mirror`}}/rhel-server-6.5-x86_64-dvd.iso",
"tools_upload_flavor": "linux",
"shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
"ssh_password": "vagrant",
Expand Down