-Implement addkcmdline for esxi

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3968 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-08-07 17:06:22 +00:00
parent 8172e9e17a
commit eac091d95d

View File

@ -2034,6 +2034,7 @@ sub mknetboot {
}
my %donetftp=();
my $bpadds = $bptab->getNodesAttribs(\@nodes,['addkcmdline']);
foreach my $node (@nodes){
my $ent = $ostab->getNodeAttribs($node, ['os', 'arch', 'profile']);
my $arch = $ent->{'arch'};
@ -2070,6 +2071,10 @@ e.g: nodech $node nodetype.arch=x86\n"]);
$append .= " --- $tp/oem.tgz";
$append .= " --- $tp/license.tgz";
$append .= " --- $tp/mod.tgz";
if (defined $bpadds->{$node}->[0]->{addkcmdline}) {
$append .= $bpadds->{$node}->[0]->{addkcmdline};
}
$bptab->setNodeAttribs(
$node,