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:
@@ -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} // "";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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} // "";
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user