diskimage-builder/diskimage_builder/elements/epel
goldyfruit c247cb41bb Fix wrong epel-release-7* package URL
When "epel" element is used during a build process
with "rhel7" distribution, the build failed
because the "epel-release-7*" package cannot be
installed.

The reason is because the URL is not correct, it
should be:
  URL=$BASE_URL/$RELEASE/x86_64/Packages/e/

Change-Id: I90c26892361f7611645b85f2eddc949b2f0d76fc
Closes-Bug: #1735547
2017-11-30 15:31:10 -05:00
..
pre-install.d Fix wrong epel-release-7* package URL 2017-11-30 15:31:10 -05:00
element-deps Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
package-installs.yaml Add yum-utils as EPEL dependency 2017-04-20 17:01:00 -04:00
README.rst Add flag to disable EPEL 2017-04-05 05:59:40 +10:00

====
epel
====

This element installs the Extra Packages for Enterprise Linux (EPEL)
repository GPG key as well as configuration for yum.

Note this element only works with platforms that have EPEL support
such as CentOS and RHEL

DIB_EPEL_MIRROR:
   :Required: No
   :Default: None
   :Description: To use a EPEL Yum mirror, set this variable to the mirror URL
                 before running bin/disk-image-create. This URL should point to
                 the directory containing the ``5/6/7`` directories.
   :Example: ``DIB\_EPEL\_MIRROR=http://dl.fedoraproject.org/pub/epel``

DIB_EPEL_DISABLED:
   :Required: No
   :Default: 0
   :Description: To disable the EPEL repo (but leave it available if
                 used with an explicit ``--enablerepo``) set this to 1