2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-13 09:50:19 +00:00

force openibd load all modules in need, restart again after installation

This commit is contained in:
huweihua
2015-06-09 03:46:50 -04:00
parent e9a9987fec
commit 5c84830ffe

View File

@ -59,7 +59,10 @@ INSTALL_DIR='/install'
#echo "installroot=$installroot"
#echo "------------------------------------------"
if [ "$(uname -s|tr 'A-Z' 'a-z')" = "linux" ];then
str_dir_name=`dirname $0`
. $str_dir_name/xcatlib.sh
fi
#use arg for the OFED_DIR if defined,
ARGNUM=$#
@ -152,6 +155,8 @@ deb http://91.189.88.140/ubuntu-ports/ trusty-updates universe" >> /etc/apt/sour
perl -x mlnxofedinstall $mlnxofed_options
fi
rm -Rf /tmp/ofed
#force openibd load all modules in need, restart again
restartservice openibd
fi
if [[ $NODESETSTATE == "genimage" ]]; then