diskimage-builder/elements/rhel
Chris Alfonso 44c3ff7ece Add rhel installation element
If you want to have the installation update packages, you'll
need to register the system log in to rhn and subscribe to an
available subscription.
export DIB_RHSM_USER to your rhn username
export DIB_RHSM_PASSWORD to your rhn password

To get the qcow2 image, log into rhn.redhat.com and download the
image from
https://rhn.redhat.com/rhn/software/channel/downloads/Download.do?cid=16952
Then export DIB_CLOUD_IMAGES to whereever you're hosting the qcow2.

Change-Id: Idb547f4ffe75514b1e3f6b34f5f347493b132925
2013-08-28 11:35:53 -04:00
..
bin Add rhel installation element 2013-08-28 11:35:53 -04:00
finalise.d Add rhel installation element 2013-08-28 11:35:53 -04:00
pre-install.d Add rhel installation element 2013-08-28 11:35:53 -04:00
root.d Add rhel installation element 2013-08-28 11:35:53 -04:00
README.md Add rhel installation element 2013-08-28 11:35:53 -04:00
element-deps Add rhel installation element 2013-08-28 11:35:53 -04:00

README.md

Overrides:

  • Set DIB_CLOUD_IMAGES to a URL for downloading base Red Hat Enterprise Linux cloud image.
  • Set DIB_CLOUD_RELEASE to a use a non-default name for the Red Hat Enterprise Linux cloud image.
  • Set DIB_RHSM_USER and DIB_RHSM_PASSOWRD for the RHN user to be used for a subscription registration. If these are set, the image building process will register the system with RHN and apply the associated Red Hat Enterprise Linux Server subscription so the latest package updates can be applied. At the end of the image building process, the system will be unregistered from RHN.
  • Set DIB_RHSM_POOL to a subscription pool if you want the system to not use the auto attach feature of subscription-manager