不清楚使用哪个 Redfish 命令来远程修改/更改系统中存储设备的引导顺序。
curl -k -u 'username:password' https://BMC IP Address/redfish/v1/Systems/system -H "content-type:application/json" -X GET | python3 -m json.tool
输出:

curl -k -u 'username:password' https://BMC IP Address/redfish/v1/Systems/system -H “Content-type: application/json” --data '{“Boot”: {“BootSourceOverrideEnabled”: “Continu”,“BootSourceOverrideTarget”: “None”, “BootOrder”: [“Windows Boot Manager”、“UEFI Internal Shell”、“UEFI INTEL SSDSC2BB300G4 BTWL408004EL300PGN”、“UEFI IPv4: 英特尔网络 00 在插槽 03”,“UEFI IPv6: 英特尔网络 00 在插槽 03”,“UEFI IPv4: 英特尔网络 01 在插槽 03”,“UEFI IPv6:英特尔网络 01 在插槽 03”,“UEFI HTTPv4:英特尔网络 00在插槽 03”,“UEFI HTTPv6:英特尔网络 00在插槽 03”,“UEFI HTTPv4:英特尔网络 01在插槽 03”,“UEFI HTTPv6:英特尔网络 01在插槽 03”]}}' -X 补丁
确认 对 BootOrder 的更改:
curl -k -u 'username:password' https://BMC IP Address/redfish/v1/Systems/system -H "content-type:application/json" -X GET | python3 -m json.tool

| 注意 |
使用 Windows* 操作系统中的 curl 命令,用户需要转义除第一个和最后一个双引号之外的所有双引号。例如,“更改引导顺序”命令中的数据将为:--data “{\”Boot\“: {\”BootSourceOverrideEnabled\“: \”Continu\“,\”BootSourceOverrideTarget\“: \”None\“, \”BootOrder\“: [\”boot option 1\“,\”boot option 2\“]}}” |