proxmox-backup/pbs-api-types
Gabriel Goller 1656c53486 node: status: added bootmode
Added field that shows the bootmode of the node. The bootmode is either
Legacy Bios, EFI, or EFI (Secure Boot). To detect the mode we use the
exact same method as in pve: We check if the `/sys/firmware/efi` folder
exists, then check if the `SecureBoot-xx...` file in the `efivars`
directory has the SecureBoot flag enabled.

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
Tested-by: Lukas Wagner <l.wagner@proxmox.com>
2023-11-29 15:31:35 +01:00
..
src node: status: added bootmode 2023-11-29 15:31:35 +01:00
Cargo.toml api-types: client: datastore: tools: use proxmox-human-bytes crate 2023-06-26 13:56:45 +02:00