PATCH – Set a specified boot device within a boot option (OEM method)
User can further change boot target order in network, hard disk and CD/DVD Rom.
Request URL
PATCH https://<BMC_IPADDR>/redfish/v1/Systems/1/Oem/Lenovo/BootSettings/BootOrder.{NetworkBootOrder, HardDiskBootOrder, CDDVDROMBootOrder}
REST operations
Operation | Properties | Comment |
---|---|---|
UPDATE | BootOrderNext | To change the boot order in target. |
If REST encounters an error and cannot complete the request, it will return “500 Internal Server".
Example
The following example is PATCH body.
{
"BootOrderNext": [
"UEFI: SLOT8 (AE/0/0) PXE IPv4 Broadcom 57416 10GBASE-T 2-port OCP Ethernet Adapter",
"UEFI: SLOT8 (AE/0/0) PXE IPv6 Broadcom 57416 10GBASE-T 2-port OCP Ethernet Adapter",
"UEFI: SLOT8 (AE/0/1) PXE IPv4 Broadcom 57416 10GBASE-T 2-port OCP Ethernet Adapter",
"UEFI: SLOT8 (AE/0/1) PXE IPv6 Broadcom 57416 10GBASE-T 2-port OCP Ethernet Adapter"
]
}
Return 200 OK if patch success.
It will take effect on next time system boot.
Give documentation feedback