From 5b071e01cde6d5bac65e9cb7326ab78024a654f6 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 3 Jun 2009 17:36:29 +0000 Subject: [PATCH] -Fix problem where discovery overwrites nfsserver field erroneously git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/nodediscover.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;