mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
reboot much faster in case of storage failure
When storage cannot be reached, it does not make sense to reboot as it will try to flush buffers, umount NFS mounts, etc. This will not work and thus cause a long delay. With this change, the box will reboot immediately (like pressing the reset button).
This commit is contained in:
parent
c05e37b28d
commit
2b41f98346
@ -155,7 +155,7 @@ then
|
||||
exit 0
|
||||
elif [ "$cflag" == "1" ]
|
||||
then
|
||||
reboot
|
||||
echo b > /proc/sysrq-trigger
|
||||
exit $?
|
||||
else
|
||||
write_hbLog
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user