rdo-infra / rdo-release

RDO release repository
12 stars 16 forks source link

Using '$releasever' variable breaks RHEL #11

Closed sagarun closed 5 years ago

sagarun commented 5 years ago

The yum variable '$releasever' resolves to 7Server in RHEL7. However mirrorlist.centos.org doesn't recognize 7Server. It only knows about releasever '7'. So fix the mirrorlist to directly use '7' instead of yum variable.

Success: curl "http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=cloud-openstack-stein" Fail: curl "http://mirrorlist.centos.org/?release=7Server&arch=x86_64&repo=cloud-openstack-stein" Fail: curl "http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=cloud-openstack-stein"

sagarun commented 5 years ago

Closing this in favor of https://review.rdoproject.org/r/#/c/20895/