-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Rocky Linux support to cloud-init #906
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this submission. Overall this looks good. A few notes...
Most of the lists you added rocky
to were in alphabetical order. Instead of adding rocky to the end of the list, can you add it to keep the ordering alphabetical?
One of the unit tests you wrote is failing on CI. It's because of the parsing of /etc/redhat-release
is expecting a codename after the version number. Would it be possible to update the implementation to make the codename optional?
I suggested a change inline for the other failing unit test.
* Change alphabetical order on some lines * Version code name decided from releng, add it in
I believe I addressed the alphabetical order lists and also the code name. We added a code name recently but I didn't provide an updated set of info. Hopefully that addressed that issue there. I couldn't find your suggestion in the modified file list. Or perhaps I've looked in the wrong place. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm, weird...must have put that suggestion in a different tab then I closed or something. Should be here now.
tests/unittests/test_cli.py
Outdated
('**Supported distros:** almalinux, alpine, centos, debian, ' | ||
'fedora, rocky'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is checking that the list in cc_ntp.py matches some documentation output. Unfortunately, it hasn't been updated in a while, but this should fix it.
('**Supported distros:** almalinux, alpine, centos, debian, ' | |
'fedora, rocky'), | |
('**Supported distros:** almalinux, alpine, centos, debian, ' | |
'fedora, opensuse, rhel, rocky, sles, ubuntu'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now, thanks!
Proposed Commit Message
Additional Context
https://rockylinux.org
We currently have RC1 out (for version 8.3) and currently working on 8.4. We
had to redo our patches for 8.4 as it was rebased. We realized an upstream PR
was not made for our distribution, hence this submission.
Please let me know if I made a mistake anywhere throughout this PR and I
will try to correct it.
Thank you!
Test Steps
Checklist: