From 3beebf6ccb59510b71fc5604e40c7e2a8ac95a2d Mon Sep 17 00:00:00 2001 From: yinle Date: Thu, 5 Apr 2012 03:21:00 +0000 Subject: [PATCH] Fix bug 3515039: xcatsetup define service node error git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/setup.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/setup.pm b/xCAT-server/lib/xcat/plugins/setup.pm index 3f05395ea..09bd16aee 100644 --- a/xCAT-server/lib/xcat/plugins/setup.pm +++ b/xCAT-server/lib/xcat/plugins/setup.pm @@ -1207,9 +1207,7 @@ sub findSNsinBB { my $framebase = $$framename{'primary-start'}; foreach my $p (@snpositions) { my $cecbase = 0; - my $framehash = parsenoderange($STANZAS{'xcat-frames'}); - my $frame1 = $$framehash{'primary-start'}; - my $frame = $frame1; + my $frame = $framebase; #my $frame = $framebase; while ($p > ($cecbase + ($NUMCECSINFRAME{$frame}||$cecsperframe))) { # p is not in this frame, go on to the next