[pbs-devel] [PATCH v6 proxmox-backup 2/5] node: status: added bootmode

Lukas Wagner l.wagner at proxmox.com
Wed Nov 29 14:50:42 CET 2023



On 11/29/23 14:40, Lukas Wagner wrote:
> On 11/29/23 14:28, Gabriel Goller wrote:
>> 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 at proxmox.com>
> 
> This one does not apply anymore on latest master :)
> 

meh, works with `git am -3`, my bad. :)

-- 
- Lukas




More information about the pbs-devel mailing list