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:
parent
84281c555b
commit
70e147e18d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user