From 403f21742ca3ab3871ebde09365f285d193e7e19 Mon Sep 17 00:00:00 2001 From: nott Date: Sat, 7 Jun 2008 14:12:13 +0000 Subject: [PATCH] Make sure node attr is set for node def git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1604 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/DBobjectdefs.pm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index d5c66aa54..3f793fc91 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -1846,6 +1846,11 @@ sub setFINALattrs } } + # need to make sure the node attr is set otherwise nothing + # gets set in the nodelist table + if ($::FINALATTRS{$objname}{objtype} eq "node") { + $::FINALATTRS{$objname}{node} = $objname; + } } } @@ -1871,6 +1876,11 @@ sub setFINALattrs } + } + # need to make sure the node attr is set otherwise nothing + # gets set in the nodelist table + if ($::FINALATTRS{$objname}{objtype} eq "node") { + $::FINALATTRS{$objname}{node} = $objname; } }