diff --git a/xCAT-server/share/xcat/ib/scripts/configiba.2ports b/xCAT-server/share/xcat/ib/scripts/configiba.2ports index 6d77edd7b..e6a4d9b9d 100644 --- a/xCAT-server/share/xcat/ib/scripts/configiba.2ports +++ b/xCAT-server/share/xcat/ib/scripts/configiba.2ports @@ -131,10 +131,9 @@ if ( $PLTFRM eq "Linux" ) { { updatefile("/etc/modprobe.conf", "options ib_ehca nr_ports=1"); updatefile("/etc/modprobe.conf", "options ib_ehca lock_hcalls=0"); + runcmd("echo 'options ib_ehca lock_hcalls=0' >> /etc/modprobe.conf"); } - runcmd("echo 'options ib_ehca lock_hcalls=0' >> /etc/modprobe.conf"); - my $rdma_cmd = "/sbin/chkconfig --level 2345 $ib_driver on"; runcmd($rdma_cmd); my $rdma_start_cmd = "/sbin/service $ib_driver restart";