From eac091d95de804cac24877bdcfc7af165b7bbd29 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 7 Aug 2009 17:06:22 +0000 Subject: [PATCH] -Implement addkcmdline for esxi git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3968 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/esx.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 1cb9e9979..cac5c3aae 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -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,