Skip to content

Conversation

@joeysk2012
Copy link

Proposed Commit Message

<feat>(amazon): Modify configs for better Amazon Linux support.

Change only applies to Amazon Linux distro and EC2.
- Adds yum-add-repo module to amazon distro.
- Adds ca-cert module to amazon distro.

Additional Context

I would like to make better support for Amazon Linux (AL) in cloud-init.
Please review existing config from AL into cloud-init.

Test Steps

ran test test_cc_yum_add_repo.py and test_cc_ca_certs.py

joe@7cf34dd47854 cloud-init % pytest -vv tests/unittests/config/test_cc_yum_add_repo.py
...
=============================================================================================== 12 passed in 0.08s ================================================================================================

joe@7cf34dd47854 cloud-init % pytest -vv tests/unittests/config/test_cc_ca_certs.py
...
=============================================================================================== 270 passed in 0.51s ===============================================================================================

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

@holmanb
Copy link
Member

holmanb commented Dec 10, 2025

Please review existing config from AL into cloud-init.

Is this a downstream config? Can you please link it?

@holmanb holmanb added the incomplete Action required by submitter label Dec 10, 2025
@joeysk2012
Copy link
Author

This is a patch file provided in amazon linux 2023 to modify the source and it's been used since 2022. Amazon Linux does not publish package source files like other distros so I don't have a link. Thank you.

@joeysk2012 joeysk2012 marked this pull request as draft December 18, 2025 22:59
@joeysk2012
Copy link
Author

Closing to better follow internal process.

@joeysk2012 joeysk2012 closed this Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

incomplete Action required by submitter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants