2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-13 01:40:26 +00:00

Have esx.pm support the on-parameter passing of bootparams

This commit is contained in:
Jarrod Johnson
2017-03-14 11:50:05 -04:00
parent 072cfd01d1
commit ea315cbfc4

View File

@ -5131,14 +5131,10 @@ sub mkcommonboot {
$bptab->setNodeAttribs(
$node,
{
kernel => $kernel,
initrd => "",
kcmdline => $append
}
);
my $bootparams = ${$req->{bootparams}};
$bootparams->{$node}->[0]->{kernel} = $kernel;
$bootparams->{$node}->[0]->{kcmdline} = $append;
$bootparams->{$node}->[0]->{initrd} = "";
} # end of node loop
}