Skip to content

Commit

Permalink
Fixes #37615 - Improve help text for the PXE loader in the Host form
Browse files Browse the repository at this point in the history
  • Loading branch information
stejskalleos committed Jul 1, 2024
1 parent f2e6bca commit e505a33
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/common/os_selection/_pxe_loader.html.erb
Original file line number Diff line number Diff line change
@@ -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? -%>
<%
Expand All @@ -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 + "<br>" + help2,
:label_help_options => { :data => { :placement => 'top' } } %>
<% end -%>
<% end -%>

0 comments on commit e505a33

Please sign in to comment.