2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-13 09:50:19 +00:00

Merge pull request #2643 from jjohnson42/fixesx

Have esx.pm support the on-request passing of bootparams
This commit is contained in:
chenglch
2017-03-15 09:39:02 +08:00
committed by GitHub

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
}