Pull in vpd.uuid on node discovery

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11529 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-02-10 02:23:01 +00:00
parent 8f05382865
commit 52e04c5a47

View File

@ -146,6 +146,9 @@ sub process_request {
#First, fill in tables with data fields..
if (defined($request->{mtm}) or defined($request->{serial})) {
my $vpdtab = xCAT::Table->new("vpd",-create=>1);
if ($request->{uuid}->[0]) {
$vpdtab->setNodeAttribs($node,{uuid=>$request->{uuid}->[0]});
}
if ($request->{mtm}->[0]) {
$vpdtab->setNodeAttribs($node,{mtm=>$request->{mtm}->[0]});
}