Revision 3a75046e
Added by Lukas Zapletal about 3 years ago
app/views/unattended/provisioning_templates/PXELinux/kickstart_default_pxelinux.erb | ||
---|---|---|
ONTIMEOUT installer
|
||
|
||
LABEL installer
|
||
MENU LABEL <%= template_name %>
|
||
KERNEL <%= @kernel %>
|
||
APPEND initrd=<%= @initrd %> ks=<%= foreman_url('provision') %> <%= pxe_kernel_options %> <%= snippet("kickstart_kernel_options").strip %>
|
||
IPAPPEND 2
|
||
MENU LABEL <%= template_name %>
|
||
KERNEL <%= @kernel %>
|
||
APPEND initrd=<%= @initrd %> ks=<%= foreman_url('provision') %> <%= pxe_kernel_options %> <%= snippet("kickstart_kernel_options").strip %>
|
||
<% if @host.architecture.to_s.match(/s390x?/i) %>
|
||
INITRD <%= @initrd %>
|
||
<% end %>
|
||
IPAPPEND 2
|
||
|
||
<%= snippet_if_exists(template_name + " custom menu") %>
|
Also available in: Unified diff
Fixes #31946 - support for S390x
On S390 kernel and initramdisk are at a different path and with different names: images/kernel.img and images/initrd.img. Foreman operating system model must reflect that in order to download Anaconda installer to TFTP.
Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>