Skip to content
This repository was archived by the owner on Feb 21, 2018. It is now read-only.

Use Major Release and not just Release Version in yum #29

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

ksonney
Copy link

@ksonney ksonney commented Jun 8, 2016

The "releasever" default variable contains both major AND minor releases, resulting in 404 errors trying to install packages. This update changes that to use JUST the major release.

For example, under the current scheme, the yum repo URL is built with "7.2" (which does not exist) and not "7" (which does) under CentOS 7.2. This will also follow for RHEL and other RHEL-based systems.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants