From d26a82224805a7e7cdfafe7f36652f9e9c277adf Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Mon, 19 Apr 2010 09:14:41 +0000 Subject: [PATCH] Remove the entries that created by configiba.1port git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5804 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/ib/scripts/configiba.2ports | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-server/share/xcat/ib/scripts/configiba.2ports b/xCAT-server/share/xcat/ib/scripts/configiba.2ports index 727af9368..47819caef 100644 --- a/xCAT-server/share/xcat/ib/scripts/configiba.2ports +++ b/xCAT-server/share/xcat/ib/scripts/configiba.2ports @@ -56,6 +56,10 @@ foreach my $num ( @nums ) { { runcmd("/usr/bin/sed -i 's/SDP_LOAD=yes/SDP_LOAD=no/g' /etc/infiniband/openib.conf"); } + if ( -f "/etc/modprobe.conf" ) + { + runcmd("sed -i 's/options\ ib_ehca\ nr_ports=1//g' /etc/modprobe.conf"); + } my $openibd_cmd = "/sbin/chkconfig --level 2345 openibd on"; runcmd($openibd_cmd); # Write the info to the ifcfg file