mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	Fixed one problem for IB support on SLES.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8308 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -16,10 +16,12 @@ my $OS_name; | ||||
| my $ib_driver; | ||||
| if ( $ENV{OSVER} && ($ENV{OSVER} =~ /rhe(\D+)(\d+)(\.\d+)?/)  ) { | ||||
|     if ( $2 > 5 ) { | ||||
|         $ib_driver = "rdma" | ||||
|         $ib_driver = "rdma"; | ||||
|     } else { | ||||
|         $ib_driver = "openibd" | ||||
|         $ib_driver = "openibd"; | ||||
|     } | ||||
| } else { | ||||
|     $ib_driver = "openibd"; | ||||
| } | ||||
|  | ||||
| my $HOST = `hostname -s`; | ||||
|   | ||||
| @@ -16,10 +16,12 @@ my $OS_name; | ||||
| my $ib_driver; | ||||
| if ( $ENV{OSVER} && ($ENV{OSVER} =~ /rhe(\D+)(\d+)(\.\d+)?/)  ) { | ||||
|     if ( $2 > 5 ) { | ||||
|         $ib_driver = "rdma" | ||||
|         $ib_driver = "rdma"; | ||||
|     } else { | ||||
|         $ib_driver = "openibd" | ||||
|         $ib_driver = "openibd"; | ||||
|     } | ||||
| } else { | ||||
|     $ib_driver = "openibd"; | ||||
| } | ||||
|  | ||||
| my $HOST = `hostname -s`; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user