From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 3EC51B3C82 for ; Wed, 29 Nov 2023 14:51:14 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 229EE836E for ; Wed, 29 Nov 2023 14:50:44 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Wed, 29 Nov 2023 14:50:43 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 3775D40CF6 for ; Wed, 29 Nov 2023 14:50:43 +0100 (CET) Message-ID: <47ee4a34-d8bf-4829-ab73-b987b9a4f8de@proxmox.com> Date: Wed, 29 Nov 2023 14:50:42 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: de-AT, en-US From: Lukas Wagner To: Proxmox Backup Server development discussion , Gabriel Goller Reply-To: Proxmox Backup Server development discussion References: <20231129132901.160282-1-g.goller@proxmox.com> <20231129132901.160282-3-g.goller@proxmox.com> <84ff19fa-a93e-4be0-aac0-11babbc29f1b@proxmox.com> In-Reply-To: <84ff19fa-a93e-4be0-aac0-11babbc29f1b@proxmox.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.008 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: Re: [pbs-devel] [PATCH v6 proxmox-backup 2/5] node: status: added bootmode X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2023 13:51:14 -0000 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 > > This one does not apply anymore on latest master :) > meh, works with `git am -3`, my bad. :) -- - Lukas