Skip to content

feat: add ELN support to distros#6922

Open
yselkowitz wants to merge 1 commit into
canonical:mainfrom
yselkowitz:eln
Open

feat: add ELN support to distros#6922
yselkowitz wants to merge 1 commit into
canonical:mainfrom
yselkowitz:eln

Conversation

@yselkowitz

Copy link
Copy Markdown

Proposed Commit Message

feat: add ELN support to distros

ELN now identifies itself uniquely and more RHEL-like, rather than as a 
variant of Fedora.

https://github.com/fedora-eln/eln/issues/565

Additional Context

Test Steps

Merge type

  • Squash merge using "Proposed Commit Message"
  • Rebase and merge unique commits. Requires commit messages per-commit each referencing the pull request number (#<PR_NUM>)

ELN now identifies itself uniquely and more RHEL-like, rather than as a
variant of Fedora.

fedora-eln/eln#565

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>

@blackboxsw blackboxsw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you for promoting this change in upstream cloud-init.

I think we are missing a couple of unittest conditions:

  • parametrized test case in tests/unittest/test_util.py::TestGetVariant for ELN
  • tests/unittests/config/test_cc_ntp.py add a test case for test_distro_ntp_client_config_eln

Additionally, please make sure the suggested commit message calls out any CentOS fixes proposed herein as well.

Before=network-pre.target
Before=shutdown.target
{% if variant in ["almalinux", "azurelinux", "cloudlinux", "rhel"] %}
{% if variant in ["almalinux", "azurelinux", "cloudlinux", "centos", "eln", "rhel"] %}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

These incidental CentOS fixes should be documented in this pull request suggested commit message to represent this changeset more conspicuousloy in git logs.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Has this been tested on CentOS?

DefaultDependencies=no
{% endif %}
{% if variant in ["almalinux", "azurelinux", "cloudlinux", "rhel"] %}
{% if variant in ["almalinux", "azurelinux", "cloudlinux", "centos", "eln", "rhel"] %}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

These incidental CentOS fixes should be documented in this pull request suggested commit message to represent this changeset more conspicuousloy in git logs.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Has this been tested on CentOS?

"distros": [
"alpine",
"azurelinux",
"centos",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Let's make sure we document any centos-related driveby fixes in this suggested pull request commit message.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Has this been tested on CentOS?

@holmanb holmanb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please provide cloud-init logs from a booted ELN instance.

The same for CentOS, too.

Before=network-pre.target
Before=shutdown.target
{% if variant in ["almalinux", "azurelinux", "cloudlinux", "rhel"] %}
{% if variant in ["almalinux", "azurelinux", "cloudlinux", "centos", "eln", "rhel"] %}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Has this been tested on CentOS?

DefaultDependencies=no
{% endif %}
{% if variant in ["almalinux", "azurelinux", "cloudlinux", "rhel"] %}
{% if variant in ["almalinux", "azurelinux", "cloudlinux", "centos", "eln", "rhel"] %}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Has this been tested on CentOS?

"distros": [
"alpine",
"azurelinux",
"centos",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Has this been tested on CentOS?

@blackboxsw blackboxsw self-assigned this Jul 14, 2026
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.

3 participants