Map ROSA Linux to the fedora variant - #7054
Open
mikhailnov wants to merge 1 commit into
Open
Conversation
ROSA is an RPM/dnf-based distro using NetworkManager, but it is not known to cloud-init, so system_info()["variant"] fell back to the generic "linux". As a result templates were rendered with the Debian layout: the systemd generator looked for ds-identify under /usr/lib/cloud-init instead of /usr/libexec/cloud-init, the service units got Debian-specific systemd ordering and the sysconfig network renderer reported itself unavailable. Map the "rosa" distro id to the existing "fedora" variant so that ROSA reuses the Fedora structure everywhere.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ROSA is an RPM/dnf-based distro using NetworkManager, but it is not known to cloud-init, so system_info()["variant"] fell back to the generic "linux". As a result templates were rendered with the Debian layout: the systemd generator looked for ds-identify under /usr/lib/cloud-init instead of /usr/libexec/cloud-init, the service units got Debian-specific systemd ordering and the sysconfig network renderer reported itself unavailable.
Map the "rosa" distro id to the existing "fedora" variant so that ROSA reuses the Fedora structure everywhere.