diff --git a/xCAT-server/share/xcat/ib/scripts/configiba.1port b/xCAT-server/share/xcat/ib/scripts/configiba.1port index d115fa683..9f991dd4c 100644 --- a/xCAT-server/share/xcat/ib/scripts/configiba.1port +++ b/xCAT-server/share/xcat/ib/scripts/configiba.1port @@ -57,7 +57,7 @@ fi if [ $PLTFRM == "Linux" ] then - ib_number=`lspci | grep -i InfiniBand | wc -l` + ib_number=`lspci | grep -iE "(InfiniBand|Mellanox)" | wc -l` #loop_number=$[ $ib_number * 2 ] loop_number=$ib_number @@ -115,7 +115,7 @@ do else hostname="$HOST-$nic" fi - + `ifconfig $nic up` if [ $PLTFRM == "Linux" ] then ip=`ping -c 3 -I ib$num $hostname | grep "data" | sed 's/.* (\([0-9.]*\)).*/\1/' | uniq 2>&1`