diskimage-builder/diskimage_builder/elements/epel/README.rst
Ian Wienand 8e822768f9 Add flag to disable EPEL
Add DIB_EPEL_DISABLED flag that allows installation of the EPEL repo,
but to have it disabled by default.  This will help when you have
unavoidable EPEL dependencies, but want to make sure you only pull
specific things in with "--enablerepo" calls when installing those
packages.

Change-Id: Iedf6167a7cd69418255ebbee095aea04c50d73fd
2017-04-05 05:59:40 +10:00

775 B

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