-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
This commit is contained in:
jbjohnso 2009-06-03 17:36:29 +00:00
parent 2fd76e94c0
commit 5b071e01cd

View File

@ -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;