diskimage-builder/diskimage_builder/elements/epel
Carlos Goncalves 670df3326d Fix regex for mirror URL substitution
The base URL of EPEL repository installed by the epel-release package in
CentOS 8 at least now defaults to https.

The error seen when building an CentOS 8 image was:
"Error: Cannot find a valid baseurl for repo: epel"

This patch fixes it so that it will always match regardless of being
http or https.

Change-Id: I9ec5536ee72047c929a1ef6950ff4e9092842a4c
2019-12-03 19:13:18 +01:00
..
pre-install.d Fix regex for mirror URL substitution 2019-12-03 19:13:18 +01:00
README.rst Remove installed packages before pip install 2018-04-17 16:09:04 +10: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
pkg-map Fix epel element for centos-minimal 2018-04-18 20:15:07 -04:00

README.rst

epel

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

Note this element is only useful 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