Take out check for service node attribute, for node master, only

should use xcatmaster attribute from noderes table. 

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-04-23 12:25:12 +00:00
parent ccd300deda
commit b489ed4b1e

View File

@ -93,10 +93,6 @@ sub makescript {
if ($et and $et->{value}) {
$master = $et->{value};
}
$et = $noderestab->getNodeAttribs($node,['servicenode']);
if ($et and $et->{'servicenode'}) {
$master = $et->{'servicenode'};
}
$et = $noderestab->getNodeAttribs($node,['xcatmaster']);
if ($et and $et->{'xcatmaster'}) {
$master = $et->{'xcatmaster'};