Project

General

Profile

Actions

Feature #22756

closed

Allow provisioning based on "mac" parameter

Added by Michael Hofer about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
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 1 (0 open1 closed)

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

Updated by The Foreman Bot about 6 years ago

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

Updated by Lukas Zapletal about 6 years ago

  • translation missing: en.field_release set to 330
Actions #3

Updated by Anonymous about 6 years ago

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

Updated by Timo Goebel over 5 years ago

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

Also available in: Atom PDF