]> git.proxmox.com Git - pmg-api.git/commit
api: node status: return info about current boot mode
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Feb 2024 15:07:58 +0000 (16:07 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Feb 2024 15:09:51 +0000 (16:09 +0100)
commitc4ae0a250ce4f91d4a9ca16b874ba04eeaa62c7a
tree098ebffbffabe2c4ad449245dcc1e772045f4609
parent35440d3122dcabf4e1bb787320cbde3dbfa0bb7c
api: node status: return info about current boot mode

report if the node is booted in EFI or Legacy BIOS mode, for the
former also pass along the secure boot state.

Mirrors commit 81fd95cf ("api: nodes: add info about current boot
mode") from pve-manager.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PMG/API2/Nodes.pm