From 71b20bb3dff09f29dd0240e200b20e7ea39bb7ce Mon Sep 17 00:00:00 2001 From: Dominik Heidler Date: Tue, 15 Aug 2023 14:46:50 +0200 Subject: [PATCH] iPXE: Set menu name according to next-server --- ipxe/menu.ipxe | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ipxe/menu.ipxe b/ipxe/menu.ipxe index a7895fff..0878680d 100644 --- a/ipxe/menu.ipxe +++ b/ipxe/menu.ipxe @@ -5,9 +5,13 @@ #set variables set menu-timeout 30000 +set server-name netboot +iseq ${next-server} 10.150.1.11 && set server-name openqa.opensuse.org || +iseq ${next-server} 10.168.192.10 && set server-name qe.nue2.suse.org || +iseq ${next-server} 10.162.0.1 && set server-name qanet.qa.suse.de || :start -menu iPXE boot menu for openqa.opensuse.org +menu iPXE boot menu for ${server-name} item --gap -- -- OS Inst (You will be prompted to edit cmdline after selecting an os) -- item --gap -- -------------------------------- x86_64 ----------------------------------