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:
wanghuaz 2010-12-03 03:25:07 +00:00
parent 05aae8e79a
commit 091fe027fe
2 changed files with 8 additions and 4 deletions

View File

@ -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`;

View File

@ -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`;