2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +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
commit 5da9178e35

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
}