Project

General

Profile

Feature #33549

Add iPXE bootstrap to the dhcpd.conf

Added by Lukas Zapletal about 1 year ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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";
}

Associated revisions

Revision 1e45b6b4 (diff)
Added by Harm Endres 10 months ago

Fixes #33549 - Set dhcp iPXE filename

If no value is set, the template URL is taken if the template feature is activated.

History

#1 Updated by Harm Endres about 1 year 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

#2 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing

#3 Updated by Harm Endres 11 months 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

#4 Updated by The Foreman Bot 10 months ago

  • Fixed in Releases 3.2.0 added

#5 Updated by Anonymous 10 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF