Sha256: 451cd62915a3eb158914e1a72e7599b659ad58aa707a34b9fc954857d1af4a64
Contents?: true
Size: 414 Bytes
Versions: 11
Compression:
Stored size: 414 Bytes
Contents
module Bootdisk::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
11 entries across 11 versions & 1 rubygems