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
This commit is contained in:
wanghuaz 2010-04-19 09:14:41 +00:00
parent 25713d8aa2
commit d26a822248

View File

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