ironic-python-agent-builder/dib/ironic-python-agent-ramdisk/environment.d/20-disable-epel.bash
Dmitry Tantsur 2a19fa368c Disable EPEL on CentOS 8 by default
It's currently broken and not really needed anyway.

Depends-On: https://review.opendev.org/#/c/738435/
Change-Id: I767f6fc4e4177af5f7f93a0d4d3f8dcc578da2c4
2020-06-29 16:32:10 +02:00

5 lines
172 B
Bash

if [[ "$DISTRO_NAME" == "centos" ]] && [[ "$DIB_RELEASE" == 8 ]]; then
# Disable EPEL unless enabled explicitly
export DIB_EPEL_DISABLED=${DIB_EPEL_DISABLED:-1}
fi