Project

General

Profile

Actions

Bug #33937

closed

Cannot change "local boot ipxe template"

Added by Ben Magistro about 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

First, I know we need to upgrade but looking at the code on github it looks like this might exist in current versions too if we are interpreting things correctly.

Under settings -> provisioning, we have updated "local boot ipxe template" to be a custom template we created however, it appears hosts are still trying to use the "ipxe default local boot" template. As best as we could trace it the model will generate a template name of "ipxe default local boot" (https://github.com/theforeman/foreman/blob/1.22.0/app/models/provisioning_template.rb#L137). The unattended controller would then return either a host specific (don't believe we are using this/is even exposed in the ui?) or a default template (https://github.com/theforeman/foreman/blob/develop/app/controllers/unattended_controller.rb#L115) ignoring the value in settings -> provisioning. This behavior was observed both with a real host boot and with access to `unattended/iPXE?spoof=`.

Is there a setting we missed updating or cache clearing step?

Actions

Also available in: Atom PDF