diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-09-04 12:52:31 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-09-10 17:23:18 +0200 |
commit | 595770163a4e4242b6937fc0ded9582d62159793 (patch) | |
tree | 6c3ba222b914c63f369d4044fe9d6ecff6b1f197 /src/ogRest.py | |
parent | f31e55fea4fd5fca7598f9e20caed50ae04796e5 (diff) |
live: add boot entries into /refresh payload
Add 'efi' key into the refresh payload. The value for that key
has the following structure:
'efi': {
'entries': [
{
"order": 0,
"name": "Boot0000",
"active": false,
"description": "grub"
},
{
"order": 1,
"name": "Boot0001",
"active": true,
"description": "UEFI: PXE IP4 Realtek PCIe GBE Family Controller"
}
]
}
If the client is not a EFI system it won't add the 'efi' field.
If an entry is not in the boot order it won't have the 'order' field.
Diffstat (limited to 'src/ogRest.py')
0 files changed, 0 insertions, 0 deletions