From e505a33982546b06c0310d38916a279b7d31c4c7 Mon Sep 17 00:00:00 2001 From: Leos Stejskal Date: Mon, 1 Jul 2024 14:01:52 +0200 Subject: [PATCH] Fixes #37615 - Improve help text for the PXE loader in the Host form --- app/views/common/os_selection/_pxe_loader.html.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/common/os_selection/_pxe_loader.html.erb b/app/views/common/os_selection/_pxe_loader.html.erb index 6ba3b5cd246..b9d17345bea 100644 --- a/app/views/common/os_selection/_pxe_loader.html.erb +++ b/app/views/common/os_selection/_pxe_loader.html.erb @@ -1,3 +1,7 @@ +<% + help = _("DHCP filename option to use. Set to None for non-PXE method (e.g. iPXE). Auto-suggested, use OS parameter 'pxe-loader' to override.") + help2 = _("This option specifies the file to be loaded via TFTP during PXE boot. It does not affect the initial boot method (BIOS/UEFI/GRUB/PXE) but configures the file and DHCP options for the network boot.") +%> <%= fields_for item do |f| -%> <% loaders = @operatingsystem.available_loaders; if loaders.any? -%> <% @@ -10,7 +14,7 @@ :selected => pxe_loader_selected == true ? f.object.pxe_loader : pxe_loader_selected }, :label => _('PXE loader'), - :label_help => _("DHCP filename option to use. Set to None for non-PXE method (e.g. iPXE). Auto-suggested, use OS parameter 'pxe-loader' to override."), + :label_help => help + "
" + help2, :label_help_options => { :data => { :placement => 'top' } } %> <% end -%> <% end -%>