diff --git a/xCAT-server/share/xcat/tools/mkrrnodes b/xCAT-server/share/xcat/tools/mkrrnodes index cff7a60c3..87b838e71 100644 --- a/xCAT-server/share/xcat/tools/mkrrnodes +++ b/xCAT-server/share/xcat/tools/mkrrnodes @@ -80,7 +80,7 @@ foreach my $CU (@::CU) # calculate the rack number ( 12 triblades/rack) # 15 racks/CU # Rack number = (triblade# / 12) +1 - my $count = $range / 12; + my $count = ($range -1) / 12; my ($rackno, $rem) = split '\.', $count; $rackno = $rackno + $::LOCATION;