feat(templates): add RPM support to kernel template#681
Merged
ArangoGutierrez merged 1 commit intoNVIDIA:mainfrom Feb 18, 2026
Merged
feat(templates): add RPM support to kernel template#681ArangoGutierrez merged 1 commit intoNVIDIA:mainfrom
ArangoGutierrez merged 1 commit intoNVIDIA:mainfrom
Conversation
Add OS-family branching to the kernel template for RPM-based distributions (Rocky Linux, Amazon Linux, RHEL): Debian branch: - DEBIAN_FRONTEND, debconf-set-selections for non-interactive apt - apt-cache show for kernel availability check - linux-image, linux-headers, linux-modules packages - update-grub and update-initramfs for bootloader - --allow-downgrades flag for apt-get install RPM branch: - dnf list available for kernel availability check - kernel and kernel-devel packages (modules bundled on RPM) - grub2-mkconfig with BIOS/UEFI path fallback - dracut --force for initramfs regeneration - --allowerasing flag for dnf install Common (moved outside case block): - pkg_update replaces bare apt-get update - Kernel version check, reboot logic, state management Follows the established case/HOLODECK_OS_FAMILY pattern. Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
Pull Request Test Coverage Report for Build 22143863294Details
💛 - Coveralls |
24 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pkg_updateabstraction at the top, OS-specific package managers in branchesPart of #569 (Epic: Support RPM-Based Distributions)
Test plan
go test ./pkg/provisioner/templates/ -count=1passes