diskimage-builder/elements/rhel7
Ben Nemec e23274921d Update rhel7 element readme
Evidently the readme file hasn't been updated since rhel7 finished
beta, so this is long overdue.

In addition, since it's not possible to download the base image
file directly, let's stop pretending we can and bail out if the user
didn't set the necessary env vars.

Also updated the README to use the new table format instead of free text

Co-Authored-By: Augustina Ragwitz <aragwitz+lp@pobox.com>
Change-Id: Ie8343ee2ce1715583c28de7f59daed7e58c8ca0f
2015-10-12 15:31:09 -05:00
..
environment.d Set DISTRO_NAME in OS environment.d 2014-05-28 12:22:02 -04:00
root.d Update rhel7 element readme 2015-10-12 15:31:09 -05:00
element-deps Adds RHEL common element 2014-07-25 14:17:03 -04:00
element-provides Use provides to note an element provides an OS 2014-04-10 14:42:04 +01:00
README.rst Update rhel7 element readme 2015-10-12 15:31:09 -05:00

rhel7

Use RHEL 7 cloud images as the baseline for built disk images.

Because RHEL 7 base images are not publicly available, it is necessary to first download the RHEL 7 cloud image from the Red Hat Customer Portal and pass the path to the resulting file to disk-image-create as the DIB_LOCAL_IMAGE environment variable.

The cloud image can be found at (login required): https://access.redhat.com/downloads/content/69/ver=/rhel---7/7.1/x86_64/product-downloads

Then before running the image build, define DIB_LOCAL_IMAGE (replace the file name with the one downloaded, if it differs from the example):: export DIB_LOCAL_IMAGE=rhel-guest-image-7.1-20150224.0.x86_64.qcow2

The downloaded file will then be used as the basis for any subsequent image builds.

For further details about building RHEL 7 images, see the rhel-common and redhat-common element README files.

Environment Variables

DIB_LOCAL_IMAGE
Required

Yes

Default

None

Description

The RHEL 7 base image you have downloaded. See the element description above for more details.

Example

DIB_LOCAL_IMAGE=/tmp/rhel7-cloud.qcow2