Merge "Set eus repositories if REG_RELEASE is set"

This commit is contained in:
Zuul 2021-02-02 07:24:59 +00:00 committed by Gerrit Code Review
commit 68c47f91fb

View File

@ -14,7 +14,11 @@ if [ "${DIB_RELEASE:-7}" == "7" ]; then
repos="repos --enable rhel-7-server-rpms"
satellite_repo="rhel-7-server-rh-common-rpms"
elif [ "${DIB_RELEASE}" == "8" ]; then
repos="repos --enable rhel-8-for-x86_64-appstream-rpms --enable rhel-8-for-x86_64-baseos-rpms"
if [ -n "${REG_RELEASE:-}" ]; then
repos="repos --enable rhel-8-for-x86_64-appstream-eus-rpms --enable rhel-8-for-x86_64-baseos-eus-rpms"
else
repos="repos --enable rhel-8-for-x86_64-appstream-rpms --enable rhel-8-for-x86_64-baseos-rpms"
fi
satellite_repo="satellite-tools-6.5-for-rhel-8-x86_64-rpms"
fi