diff --git a/xCAT-server/lib/xcat/plugins/setup.pm b/xCAT-server/lib/xcat/plugins/setup.pm index a217ab4fe..c39765ee5 100644 --- a/xCAT-server/lib/xcat/plugins/setup.pm +++ b/xCAT-server/lib/xcat/plugins/setup.pm @@ -1205,7 +1205,10 @@ sub findSNsinBB { my $framebase = $$framename{'primary-start'}; foreach my $p (@snpositions) { my $cecbase = 0; - my $frame = $framebase; + my $framehash = parsenoderange($STANZAS{'xcat-frames'}); + my $frame1 = $$framehash{'primary-start'}; + my $frame = $frame1; + #my $frame = $framebase; while ($p > ($cecbase + ($NUMCECSINFRAME{$frame}||$cecsperframe))) { # p is not in this frame, go on to the next $cecbase += $NUMCECSINFRAME{$frame} || $cecsperframe;