|
Post by amithalperin on Aug 27, 2023 14:05:55 GMT
hello friends, i would like to know how can i change the boot order in cimc via redfish api. I tried to patch the payload: "Boot": { "BootSourceOverrideTarget": "Pxe", "BootSourceOverrideEnabled": "Once" }
to the path /redfish/v1/Systems/SERIAL.NUMBER and it gives me an error: either abandon the operation or change the associated access right and resubmit the request if the operation failed
finally i want that the server will boot(next boot) from adapter 1 port 1 ipv4 (Pxe)
|
|
|
Post by mraineri on Aug 28, 2023 12:53:14 GMT
Do you have the full response? Looking at the payload that looks correct (assuming you also wrapped everything with curly braces to make the payload a JSON object). Can you provide the output of this curl request?
curl -k -u USER:PASS -H "Content-Type: application/json" -X PATCH https://BMCIP/redfish/v1/Systems/SERIAL.NUMBER -d '{"Boot":{"BootSourceOverrideTarget": "Pxe","BootSourceOverrideEnabled": "Once"}}' -vvvvv
|
|