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:
commit
5da9178e35
@ -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
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user