Fix the mistake that xcatsetup defines redundant fsps.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2012-08-27 06:49:19 +00:00
parent 182de6c93b
commit a2e8f65c21

View File

@ -678,8 +678,9 @@ sub writechildren2 {
$cecstart = $$cechash{'secondary-start'};
$cecend = $$cechash{'secondary-end'};
for (my $ii = $framestart; $ii <= $frameend; $ii++) {
for (my $jj = $cecstart; $jj <= $cecend; $jj++) {
$ii = int($ii);
$ii = int($ii);
my $totalcecs = $NUMCECSINFRAME{$ii};
for (my $jj = $cecstart; $jj < ($totalcecs+$cecstart); $jj++) {
$jj = int($jj);
$myip = $vlan1 . '.' . $ii . '.' . $jj . '.1';
$sidehash{$myip}->{side} = 'A-0';