-Have discovery stop trying to help fill in primarynic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
835481f675
commit
becef6d672
@ -229,10 +229,11 @@ sub process_request {
|
||||
my $hosttag = gethosttag($node,$netn,@ifinfo[1],\%usednames);
|
||||
print Dumper($hosttag) . "\n";
|
||||
if ($hosttag) {
|
||||
(my $rent) = $nrtab->getNodeAttribs($node,['primarynic','nfsserver']);
|
||||
unless ($rent and $rent->{primarynic}) { #if primarynic not set, set it to this nic
|
||||
$nrtab->setNodeAttribs($node,{primarynic=>@ifinfo[1]});
|
||||
}
|
||||
#(my $rent) = $nrtab->getNodeAttribs($node,['primarynic','nfsserver']);
|
||||
(my $rent) = $nrtab->getNodeAttribs($node,['nfsserver']);
|
||||
#unless ($rent and $rent->{primarynic}) { #if primarynic not set, set it to this nic
|
||||
# $nrtab->setNodeAttribs($node,{primarynic=>@ifinfo[1]});
|
||||
#}
|
||||
unless ($rent and $rent->{nfsserver}) {
|
||||
$nrtab->setNodeAttribs($node,{nfsserver=>xCAT::Utils->my_ip_facing($hosttag)});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user