Actions
Feature #3562
closedDefault template "Boot disk gPXE - host" should use host MAC address when requesting gPXE template from Foreman
Description
The 'chain' line should be changed to something along the lines of:
chain <%= (u = URI.parse(foreman_url("gPXE")); u.query ="#{u.query}&mac=#{@host.mac}"; u.to_s) %>
This will pass the host MAC address to the template request, allowing the bootdisks to work on hosts behind NAT gateways. By default, all Foreman can see is the originating IP (which in my case is a NAT gateway).
Actions