Project

General

Custom queries

Profile

Actions

Bug #10259

closed

Template proxy does not lookup by MAC address

Added by William Hefter almost 10 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The native template API (/unattended) can lookup by MAC address (PXElinux?mac=aa:bb:cc:dd:ee:ff) in addition to lookup by token (this is very useful for provisioning Windows, for example). The template proxy feature, so far, can not.

Attached is a pull request with my attempt to fix this issue.


Related issues 3 (0 open3 closed)

Related to Foreman - Feature #8239: Allow MAC address parameter for /unattended, in addition to RHN headersDuplicateActions
Related to Foreman - Bug #11602: Disabling token_duration disables ks template substitutionRejected08/28/2015Actions
Related to Foreman - Bug #14479: Function foreman_url check for tokensClosedLukas Zapletal04/05/2016Actions

Added by Lukas Zapletal over 9 years ago

Revision 38a09351 (diff)

Fixes #10259 - Templates are now fully proxied

It was ignoring some parameters (MAC for bootdisk) as well as headers
(HTTP_X_RHN_PROVISIONING_*).

Originally written by William Hefter, but completely redone from scratch.

Actions

Also available in: Atom PDF