diff --git a/xCAT-server/lib/xcat/plugins/nodediscover.pm b/xCAT-server/lib/xcat/plugins/nodediscover.pm index 0aefd78e4..120fe23f6 100644 --- a/xCAT-server/lib/xcat/plugins/nodediscover.pm +++ b/xCAT-server/lib/xcat/plugins/nodediscover.pm @@ -144,7 +144,7 @@ sub process_request { unless ($rent and $rent->{primarynic}) { #if primarynic not set, set it to this nic $nrtab->setNodeAttribs($node,{primarynic=>@ifinfo[1]}); } - unless ($rent and $rent->{primarynic}) { + unless ($rent and $rent->{nfsserver}) { $nrtab->setNodeAttribs($node,{nfsserver=>xCAT::Utils->my_ip_facing($hosttag)}); } $usednames{$hosttag}=1;