Feature #33549
closedAdd iPXE bootstrap to the dhcpd.conf
Description
Please add the following if statement to the default dhcpd.conf file so iPXE users do not need to modify this manually. It appears that puppet-dhcp module has a variable for that, perhaps it can be used:
if exists user-class and option user-class = "iPXE" { filename "http://{foreman-example-com}/unattended/iPXE?bootstrap=1"; }
Updated by Harm Endres over 3 years ago
- Pull request https://github.com/theforeman/puppet-foreman_proxy/pull/704 added
Hi guys,
I have created a pull request for this. It would be great if someone could look over it.
Thanks and greetings
Harm
Updated by The Foreman Bot about 3 years ago
- Status changed from New to Ready For Testing
Updated by Harm Endres about 3 years ago
Hi folks,
sorry for the late response, I was on parental leave.
The Puppet code automatically sets the iPXE URL to the template URL when the template feature is enabled. Additionally there is a parameter that enables bootstrapping, this is disabled by default. I can change the default behaviour if desired.
If the iPXE URL is set, all mechanisms described above are omitted and the defined URL is used.
Best regards
Harm
Updated by Anonymous almost 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset puppet-foreman_proxy|1e45b6b47cf9357f15dd16a41b241403d480b537.