Allow provisioning based on "mac" parameter
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. :)
#1 Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/5290 added
#2 Updated by Lukas Zapletal about 5 years ago
- Legacy Backlogs Release (now unused) set to 330
#3 Updated by Anonymous about 5 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset 5a66100702065167559f1c3293cd93e4b5a80c2d.
#4 Updated by Timo Goebel over 4 years ago
- Has duplicate Feature #8239: Allow MAC address parameter for /unattended, in addition to RHN headers added
Fixes #22756 - Allow provisioning based on MAC address