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/models/compute_resources/foreman/model/libvirt.rb
super.merge({:mac => :mac})
end
def host_compute_attrs(host)
super.tap do |attrs|
attrs[:arch] = host.architecture.try(:name) || "x86_64"
end
end
def interfaces_attrs_name
:nics
end

Also available in: Unified diff