Skip to content

Map ROSA Linux to the fedora variant - #7054

Open
mikhailnov wants to merge 1 commit into
canonical:mainfrom
mikhailnov:add-rosa
Open

Map ROSA Linux to the fedora variant#7054
mikhailnov wants to merge 1 commit into
canonical:mainfrom
mikhailnov:add-rosa

Conversation

@mikhailnov

Copy link
Copy Markdown

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.

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.
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.

1 participant