set nr_ports=1 for sles11

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3772 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2009-07-14 12:22:26 +00:00
parent a2bc5a0dd8
commit 832a98a3cf

View File

@ -64,6 +64,7 @@ foreach my $num ( @nums ) {
if ( $OS_name eq 'suse')
{
$dir = "/etc/sysconfig/network";
runcmd("echo 'options ib_ehca nr_ports=1' >> /etc/modprobe.conf");
}
elsif ( $OS_name eq 'redhat' )
{