For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12904 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2012-05-23 07:14:53 +00:00
parent 3a0121b97d
commit 079e746aa5

View File

@ -179,7 +179,7 @@ sub mknetboot
$installroot = $site_ent;
}
# ($ref) = $sitetab->getAttribs({key => 'xcatdport'}, 'value');
@ents = xCAT::Utils->get_site_attribute("installdir");
@ents = xCAT::Utils->get_site_attribute("xcatdport");
$site_ent = $ents[0];
if ( defined($site_ent) )
{