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
This commit is contained in:
nott 2008-06-07 14:12:13 +00:00
parent 5e6f3d63a7
commit 403f21742c

View File

@ -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;
}
}