From cfb50d0598138ab3b19aec88862defa1c519cbe3 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 10 Jul 2019 13:41:22 -0400 Subject: [PATCH] Change bmc restart type to graceful Generally speaking, this is all BMCs know to do anyway. Some make the distinction and refuse the Force variant, so go for the Graceful. Change-Id: I093261e46b8ce7305d8be9938e45579cfc367110 --- pyghmi/redfish/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyghmi/redfish/command.py b/pyghmi/redfish/command.py index edf46b91..04521675 100644 --- a/pyghmi/redfish/command.py +++ b/pyghmi/redfish/command.py @@ -731,7 +731,7 @@ class Command(object): def reset_bmc(self): self._do_web_request(self._bmcreseturl, - {'ResetType': 'ForceRestart'}) + {'ResetType': 'GracefulRestart'}) def set_identify(self, on=True, blink=None): self._do_web_request(