diff --git a/docs/rackhd_vlab/discovery.rst b/docs/rackhd_vlab/discovery.rst index 7f902e47..b2d7de3f 100644 --- a/docs/rackhd_vlab/discovery.rst +++ b/docs/rackhd_vlab/discovery.rst @@ -168,7 +168,7 @@ To talk with BMC, RackHD needs to be configured with the BMC's IP and credential .. code-block:: shell - curl -X PUT -H 'Content-Type: application/json' -d ' { "service": "ipmi-obm-service", "config": { "host": "", "user": "admin", "password": "admin" } }' localhost:9090/api/current/nodes//obm + curl -X PUT -H "Content-Type: application/json" -d '{ "nodeId": "", "service": "ipmi-obm-service", "config": { "user": "admin", "password": "admin", "host": "" } }' localhost:9090/api/current/nodes//obm (3) Once the OBM credentials have been configured, RackHD can communicate with BMC in workflows (e.g. power-cycle the BMC or retrieve poller data)