fix rackno

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-08-05 12:35:42 +00:00
parent 84281c555b
commit 70e147e18d

View File

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