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).
Updated by Dominic Cleal almost 11 years ago
- Status changed from New to Closed
- Target version set to 1.9.1
- % Done changed from 0 to 100
Sorry for missing this, merged as 7444250, thanks!
Actions