Disable bmc if ipmitool exits with failure

(cherry picked from commit 2487314f438b36e121e53e4744b8a5a1df5cabef)