Project

General

Profile

Feature #22756

Allow provisioning based on "mac" parameter

Added by Michael Hofer 7 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

One of our bigger Foreman environment is used to deploy Ubuntu clients. These client can only be identified based on their MAC address because we have no control over the DHCP client subnet.
Currently Foreman only supports MAC-based provisioning for CentOS/RHEL by parsing the appropriate Kickstart HTTP Header.

The clients are deployed using iPXE which already fetches its chain script via Foreman. Meaning we have no other option (e.g. token) than the MAC address to identify the clients.
As soon as the iPXE chain script has been fetched from Foreman we can again make use of the build tokens (e.g. to access the rendered preseed template).

There was already a similar PR (https://github.com/theforeman/foreman/pull/1106) but it was never merged. Currently we run Foreman 1.9 with a custom patch which allows us the provisioning based on MAC addresses.
Due to OS restrictions we currently cannot update Foreman but this will change in the next few weeks when we will migrate to the latest and greatest version. Therefore we'd really like to have this feature included
into the next version to prevent any glue code. :)


Related issues

Has duplicate Foreman - Feature #8239: Allow MAC address parameter for /unattended, in addition to RHN headersDuplicate

Associated revisions

Revision 5a661007 (diff)
Added by Michael Hofer 6 months ago

Fixes #22756 - Allow provisioning based on MAC address

History

#1 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5290 added

#2 Updated by Lukas Zapletal 6 months ago

  • Legacy Backlogs Release (now unused) set to 330

#3 Updated by Anonymous 6 months ago

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

#4 Updated by Timo Goebel 29 days ago

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

Also available in: Atom PDF