Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using '$releasever' variable breaks RHEL #11

Closed
wants to merge 1 commit into from

Conversation

sagarun
Copy link

@sagarun sagarun commented May 22, 2019

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"

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
Copy link
Author

sagarun commented May 22, 2019

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

@sagarun sagarun closed this May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant