
We are running yum-config-manager/dnf config-manager in the epel element. Even though the yum-utils package is declared in the package-installs.yaml file, the package-installs pre-install.d script is executed after the one in the epel element, so image build fails. This commit ensures yum-utils or dnf-plugins-core are installed before running the command. Change-Id: Ib292b0b2b31bd966e0c5e8f2b2ce560bba89c45c
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