Merge "Add rocky support to the epel element"
This commit is contained in:
commit
3e4e66de16
@ -11,6 +11,10 @@
|
||||
"rhel7": {
|
||||
"wget": "wget",
|
||||
"yum-utils": "yum-utils"
|
||||
},
|
||||
"rocky": {
|
||||
"wget": "wget",
|
||||
"yum-utils": "yum-utils"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
|
@ -6,7 +6,7 @@ fi
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
if [[ ${DISTRO_NAME} =~ "centos" && "${DIB_RELEASE%-stream}" -lt '9' ]]; then
|
||||
if [[ (${DISTRO_NAME} =~ "centos" || ${DISTRO_NAME} =~ "rocky") && "${DIB_RELEASE%-stream}" -lt '9' ]]; then
|
||||
# Centos has "epel-release" in extras, which is default enabled.
|
||||
${YUM} install -y epel-release
|
||||
else
|
||||
|
@ -1,2 +1 @@
|
||||
openstack-ci-mirrors
|
||||
vm
|
||||
|
Loading…
Reference in New Issue
Block a user