Skip to content

fix(golden-image): add kernel-modules-extra to container disk image#86

Merged
mrhillsman merged 1 commit into
mainfrom
fix/kernel-modules-extra
May 23, 2026
Merged

fix(golden-image): add kernel-modules-extra to container disk image#86
mrhillsman merged 1 commit into
mainfrom
fix/kernel-modules-extra

Conversation

@mrhillsman

Copy link
Copy Markdown
Contributor

Pre-install kernel-modules-extra in the golden image so the sch_netem kernel module is available at boot without a dnf install. Remove the runtime dnf install -y kernel-modules-extra-$(uname -r) from chaos-network's cloud-init RunCmd — the start script's existing modprobe sch_netem is sufficient when the package is pre-baked.

The dnf install is still in cloud-init but completes instantly when the package is pre-baked. Update the README bullet to reflect that rather than claiming the install is avoided entirely.

Closes #72

Pre-install kernel-modules-extra in the golden image so the sch_netem
kernel module is available at boot without a dnf install. Remove the
runtime `dnf install -y kernel-modules-extra-$(uname -r)` from
chaos-network's cloud-init RunCmd — the start script's existing
`modprobe sch_netem` is sufficient when the package is pre-baked.

The dnf install is still in cloud-init but completes instantly when the
package is pre-baked. Update the README bullet to reflect that rather
than claiming the install is avoided entirely.

Closes #72

Signed-off-by: Melvin Hillsman <mhillsma@redhat.com>
@exe-prow-github-app

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mrhillsman

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@exe-prow-github-app exe-prow-github-app Bot requested a review from OchiengEd May 23, 2026 23:24
@exe-prow-github-app exe-prow-github-app Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 23, 2026
@mrhillsman mrhillsman removed the request for review from OchiengEd May 23, 2026 23:24
@mrhillsman mrhillsman merged commit 2ac160d into main May 23, 2026
5 of 7 checks passed
@mrhillsman mrhillsman deleted the fix/kernel-modules-extra branch May 24, 2026 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Tech Debt]: chaos-network installs kernel-modules-extra at first boot; pre-bake in golden image

1 participant