mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	fix bug 3558059. For Network controller: Mellanox Technologies MT27500 Family [ConnectX-3], there is not a keyword like InfiniBand, add Mellanox as the keyword; in mellanox ofed 4.0.x, it doesn't up the ib0/ib1 interfaces by default, so I update the configiba scripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13525 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -51,7 +51,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=`expr $ib_number \* 2`  | ||||
|  | ||||
|     if [ -f /etc/redhat-release ] | ||||
| @@ -109,7 +109,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` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user