diskimage-builder/elements/epel
Ian Wienand 2dc4154724 Fix up EPEL element
For whatever reason, RHEL identifies itself with DISTRO "rhel" for 6
and "rhel7" for 7, but centos just uses "centos" and DIB_RELEASE.  So
this was wrong and installing EPEL6 on centos7.

But we can simplify it completely for centos because that comes with
the epel-release package already included.

Change-Id: I2b8f5d30b850fef46b4a5ba32a917abcbf25932c
2016-04-15 12:37:22 +10:00
..
pre-install.d Fix up EPEL element 2016-04-15 12:37:22 +10:00
element-deps Add wget to package-installs.yaml for epel 2015-02-24 16:54:47 -05:00
package-installs.yaml Add wget to package-installs.yaml for epel 2015-02-24 16:54:47 -05:00
README.rst Add option to set EPEL mirror 2015-09-21 17:28:33 +01:00

epel

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

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