Project

General

Profile

« Previous | Next » 

Revision 3a75046e

Added by Lukas Zapletal about 3 years ago

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 <>

View differences:

app/views/unattended/provisioning_templates/snippet/kickstart_kernel_options.erb
options.push("inst.stage2=#{medium_uri}")
end
# S390x architecture has a different stage two image:
# https://access.redhat.com/solutions/4206591
if @host.architecture.to_s.match(/s390x?/i)
options.push("inst.cmdline")
options.push("inst.repo=#{medium_uri}")
end
# FIPS
if !is_fedora && os_major >= 7 && host_param_true?('fips_enabled')
options.push('fips=1')
end

Also available in: Unified diff