Project

General

Profile

Actions

Feature #33549

closed

Add iPXE bootstrap to the dhcpd.conf

Added by Lukas Zapletal over 2 years ago. Updated about 2 years ago.

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

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";
}
Actions #1

Updated by Harm Endres over 2 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

Actions #2

Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
Actions #3

Updated by Harm Endres about 2 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

Actions #4

Updated by The Foreman Bot about 2 years ago

  • Fixed in Releases 3.2.0 added
Actions #5

Updated by Anonymous about 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF