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:
parent
4ad99269fe
commit
f36e659715
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user