Sha256: df15c50d5e74b7b359366055ed20952d0a2e20f7c5236573642ef432a78225ca
Contents?: true
Size: 421 Bytes
Versions: 21
Compression:
Stored size: 421 Bytes
Contents
module ForemanBootdisk::UnattendedControllerExt extend ActiveSupport::Concern included do alias_method_chain :find_host_by_ip_or_mac, :param_mac end def find_host_by_ip_or_mac_with_param_mac request.env['HTTP_X_RHN_PROVISIONING_MAC_0'] = "unknown #{params['mac']}" unless request.env.has_key?('HTTP_X_RHN_PROVISIONING_MAC_0') || params['mac'].nil? find_host_by_ip_or_mac_without_param_mac end end
Version data entries
21 entries across 21 versions & 1 rubygems