Sha256: efac21d2e0e287f53aa4bb7e81a97def8bfae1b657da91900b54dc71388c1398
Contents?: true
Size: 258 Bytes
Versions: 2
Compression:
Stored size: 258 Bytes
Contents
module ForemanBootdisk::UnattendedControllerExt def find_host_by_ip_or_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? super end end
Version data entries
2 entries across 2 versions & 1 rubygems