2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-12 17:30:19 +00:00

Remove trailing spaces in file xCAT/postscripts/enablecapi

This commit is contained in:
GONG Jie
2017-12-31 23:59:59 +00:00
parent ef669a5f20
commit 0452dac1bf

View File

@ -8,7 +8,7 @@ fi
#---------------------------------------------------------------------------
#=head1 enablecapi
#=head2 enable CAPI and tunnel Atomics for compute nodes
# at least MOFED 4.3.1 has to be installed and only support on ConnectX5
# at least MOFED 4.3.1 has to be installed and only support on ConnectX5
#
# updatenode <node> enablecapi
#
@ -46,7 +46,7 @@ if (( $(echo "$majorversion == 4.3" |bc -l) )); then
ERRMSG="Current MOFED version is $version and needs to be at least 4.3-1"
logerr $ERRMSG
exit 1
fi
fi
fi
service mst restart >/dev/null 2>&1
@ -60,7 +60,7 @@ reboot_flag=0
for x in `ls /dev/mst/mt*`
do
mlxconfig -y -d $x q | grep 'ConnectX5' >/dev/null 2>&1
mlxconfig -y -d $x q | grep 'ConnectX5' >/dev/null 2>&1
if [ $? == 0 ]; then
mlxconfig -y -d $x set ADVANCED_PCI_SETTINGS=true >/dev/null 2>&1
mlxconfig -y -d $x set IBM_CAPI_EN=true >/dev/null 2>&1