Skip to content

fix: strip R:: prefix from netboot config#7573

Merged
Obihoernchen merged 1 commit into
xcat2:masterfrom
VersatusHPC:fix/addkcmdline-r-prefix
May 11, 2026
Merged

fix: strip R:: prefix from netboot config#7573
Obihoernchen merged 1 commit into
xcat2:masterfrom
VersatusHPC:fix/addkcmdline-r-prefix

Conversation

@viniciusferrao
Copy link
Copy Markdown
Member

This PR fixes the behaviour when all addkcmdline options have R:: prefix (persistent options for the installed OS), the volatile check in xnba.pm and pxe.pm would fail because volatile was undefined. This left the original R::-prefixed string in the netboot config instead of stripping it.

Fixes #7442

…tent

When all addkcmdline options have R:: prefix (persistent options for
the installed OS), the volatile check in xnba.pm and pxe.pm would fail
because volatile was undefined. This left the original R::-prefixed
string in the netboot config instead of stripping it.

The fix ensures we always use the volatile portion after calling
splitkcmdline, even if it's empty. Persistent (R::) options are
handled separately by Template.pm via PERSKCMDLINE for the installed
OS bootloader.

Fixes xcat2#7442
@Obihoernchen Obihoernchen merged commit dcb4c86 into xcat2:master May 11, 2026
2 checks passed
@viniciusferrao viniciusferrao deleted the fix/addkcmdline-r-prefix branch May 11, 2026 16:21
@viniciusferrao viniciusferrao self-assigned this May 11, 2026
@viniciusferrao viniciusferrao modified the milestone: 2.18 May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

addkcmdline is not working

2 participants