2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-17 11:54:16 +00:00

Merge pull request #7573 from VersatusHPC/fix/addkcmdline-r-prefix

fix: strip R:: prefix from netboot config
This commit is contained in:
Markus Hilger
2026-05-11 15:40:31 +02:00
committed by GitHub
2 changed files with 8 additions and 6 deletions
+4 -3
View File
@@ -119,9 +119,10 @@ sub setstate {
$cmdhashref = xCAT::Utils->splitkcmdline($kcmdlinehack);
}
if ($cmdhashref and $cmdhashref->{volatile})
{
$kcmdlinehack = $cmdhashref->{volatile};
if ($cmdhashref) {
# Use only volatile options for netboot; persistent (R::) options
# are handled separately for the installed OS via PERSKCMDLINE
$kcmdlinehack = $cmdhashref->{volatile} // "";
}
+4 -3
View File
@@ -186,9 +186,10 @@ sub setstate {
$cmdhashref = xCAT::Utils->splitkcmdline($kcmdlinehack);
}
if ($cmdhashref and $cmdhashref->{volatile})
{
$kcmdlinehack = $cmdhashref->{volatile};
if ($cmdhashref) {
# Use only volatile options for netboot; persistent (R::) options
# are handled separately for the installed OS via PERSKCMDLINE
$kcmdlinehack = $cmdhashref->{volatile} // "";
}