diff --git a/xCAT-server/share/xcat/ib/scripts/configiba.2ports b/xCAT-server/share/xcat/ib/scripts/configiba.2ports index e903ef11a..4f7efdccf 100644 --- a/xCAT-server/share/xcat/ib/scripts/configiba.2ports +++ b/xCAT-server/share/xcat/ib/scripts/configiba.2ports @@ -88,7 +88,8 @@ else num=`expr $num + 1` done - loop_number=`lsdev -Cc adapter |grep iba |wc -l` + ib_number=`lsdev -Cc adapter |grep iba |wc -l` + loop_number=`expr $ib_number \* 2` fi