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:
parent
05aae8e79a
commit
091fe027fe
@ -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`;
|
||||
|
Loading…
Reference in New Issue
Block a user