Skip to content

Fixes #39550 - Add vendor_data template kind - #11115

Open
sbernhard wants to merge 1 commit into
theforeman:developfrom
ATIX-AG:fixes_39550
Open

Fixes #39550 - Add vendor_data template kind#11115
sbernhard wants to merge 1 commit into
theforeman:developfrom
ATIX-AG:fixes_39550

Conversation

@sbernhard

Copy link
Copy Markdown
Contributor

Add a new vendor_data TemplateKind alongside a dedicated /userdata/:mac/vendor-data endpoint to serve vendor-data during image-based provisioning.

Unlike user-data, vendor-data is optional: if no template is configured for the host's OS, the endpoint returns an empty response instead of 404.

Add a new vendor_data TemplateKind alongside a dedicated
/userdata/:mac/vendor-data endpoint to serve vendor-data during
image-based provisioning.

Unlike user-data, vendor-data is optional: if no template is
configured for the host's OS, the endpoint returns an empty response
instead of 404.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sbernhard

Copy link
Copy Markdown
Contributor Author

Initial request was, to fix issues like:
https://community.theforeman.org/t/ubuntu-22-04-uefi-booting-not-working/32924/22
https://community.theforeman.org/t/vendor-data-missing/31729
https://community.theforeman.org/t/foreman-3-3-and-ubuntu-22-04/32451/2

It would also be possible, to add a route which would simply return nothing and maybe log the request - but, this would not be very helpful. Then I thought, it might be helpful to have the possbility to have real vendor-data templates and add additional scripts here. So, here it is :)

@sbernhard
sbernhard requested a review from ShimShtein July 27, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant