Skip to content

Conversation

@josh08287
Copy link

Oracle Linux's distro ID in /etc/os-release is "ol". Added this ID to the list of RHEL compatible distributions in the distribution case.

Resolves issue #1856

Oracle Linux's distro ID in /etc/os-release is "ol". Added this ID to the list of RHEL compatible distributions in the distribution case.
Copy link
Contributor

@ridgunn ridgunn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I verified the distribution identification behavior using the official Oracle Linux container image, and the values match what this PR assumes.

Oracle Linux /etc/os-release output:

$ docker run -it oraclelinux:9 cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="9.7"
ID="ol"
ID_LIKE="fedora"
VERSION_ID="9.7"
PLATFORM_ID="platform:el9"

This confirms:

ID="ol"

ID_LIKE="fedora"

Since Oracle Linux is RHEL-compatible and part of the Fedora/RHEL family, handling it under the same case block (fedora | centos | rhel | ol) is appropriate and consistent with existing logic.

Everything looks correct from my side.

@ridgunn ridgunn self-assigned this Dec 6, 2025
ridgunn

This comment was marked as off-topic.

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.

2 participants