[pve-devel] [PATCH kernel-meta] boot-tool: prefer PVE for systemd-boot loader title

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon Jul 26 12:18:31 CEST 2021


like for Grub where this is handled via snippets with PVE > PMG > PBS.

Reported-by: Oguz Bektas <o.bektas at proxmox.com>
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 proxmox-boot/zz-proxmox-boot | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/proxmox-boot/zz-proxmox-boot b/proxmox-boot/zz-proxmox-boot
index 42b0f01..244fe8e 100755
--- a/proxmox-boot/zz-proxmox-boot
+++ b/proxmox-boot/zz-proxmox-boot
@@ -31,7 +31,9 @@ trap cleanup EXIT INT TERM QUIT
 . /usr/share/pve-kernel-helper/scripts/functions
 
 LOADER_TITLE="Proxmox Virtual Environment"
-if [ -d /usr/share/doc/proxmox-mailgateway/ ]; then
+if [ -d /etc/pve/ ]; then
+	LOADER_TITLE="Proxmox Virtual Environment"
+elif [ -d /usr/share/doc/proxmox-mailgateway/ ]; then
 	LOADER_TITLE="Proxmox Mailgateway"
 elif [ -d /usr/share/doc/proxmox-backup/ ]; then
 	LOADER_TITLE="Proxmox Backup Server"
-- 
2.30.2






More information about the pve-devel mailing list