2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

enhance mlnxofed_ib_install.v2 return 1 when service openibd restart failed

This commit is contained in:
bybai 2018-03-12 23:10:24 -04:00
parent 4ad99269fe
commit f36e659715

View File

@ -328,6 +328,10 @@ EOF
#force openibd load all modules in need, restart again
sleep 1
service openibd restart
if [ "$?" != "0" ] ;then
echo "[Error] service openibd restart failed."
exit 1
fi
fi
if [[ "$NODESETSTATE" == "genimage" ]]; then