Project

General

Profile

Bug #10259

Template proxy does not lookup by MAC address

Added by William Hefter over 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
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

Related to Foreman - Feature #8239: Allow MAC address parameter for /unattended, in addition to RHN headersDuplicate
Related to Foreman - Bug #11602: Disabling token_duration disables ks template substitutionRejected2015-08-28
Related to Foreman - Bug #14479: Function foreman_url check for tokensClosed2016-04-05

Associated revisions

Revision 38a09351 (diff)
Added by Lukas Zapletal about 4 years ago

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.

History

#1 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/279 added
  • Pull request deleted ()

#2 Updated by Dominic Cleal over 4 years ago

  • Related to Feature #8239: Allow MAC address parameter for /unattended, in addition to RHN headers added

#3 Updated by Anonymous about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal about 4 years ago

  • Assignee set to Lukas Zapletal
  • Legacy Backlogs Release (now unused) set to 63
  • Pull request https://github.com/theforeman/smart-proxy/pull/300 added
  • Pull request deleted (https://github.com/theforeman/smart-proxy/pull/279)

#5 Updated by Dominic Cleal almost 4 years ago

  • Related to Bug #11602: Disabling token_duration disables ks template substitution added

#6 Updated by Lukas Zapletal over 3 years ago

  • Related to Bug #14479: Function foreman_url check for tokens added

Also available in: Atom PDF