feat: add ELN support to distros#6922
Conversation
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
left a comment
There was a problem hiding this comment.
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"] %} |
There was a problem hiding this comment.
These incidental CentOS fixes should be documented in this pull request suggested commit message to represent this changeset more conspicuousloy in git logs.
There was a problem hiding this comment.
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"] %} |
There was a problem hiding this comment.
These incidental CentOS fixes should be documented in this pull request suggested commit message to represent this changeset more conspicuousloy in git logs.
There was a problem hiding this comment.
Has this been tested on CentOS?
| "distros": [ | ||
| "alpine", | ||
| "azurelinux", | ||
| "centos", |
There was a problem hiding this comment.
Let's make sure we document any centos-related driveby fixes in this suggested pull request commit message.
There was a problem hiding this comment.
Has this been tested on CentOS?
holmanb
left a comment
There was a problem hiding this comment.
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"] %} |
There was a problem hiding this comment.
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"] %} |
There was a problem hiding this comment.
Has this been tested on CentOS?
| "distros": [ | ||
| "alpine", | ||
| "azurelinux", | ||
| "centos", |
There was a problem hiding this comment.
Has this been tested on CentOS?
Proposed Commit Message
Additional Context
Test Steps
Merge type