theforeman/foreman — pull request #215 by GregSutcliffe (2012-10-29 12:25:13+00:00)
Title: 3 state boot

Very much a work in progress - no tests or option to turn it off (yet) ;)

This implements a basic 3 state boot:

1) The Default PXE Template is re-purposed to serve the micro-kernel image to servers whose MAC we don't recognise (the default template is currently unaltered).

2) A new template kind (PXE_local) is added, and a host with build=false will get a PXE_local template which comes from either a normal template location (OS/environment/hostgroup), or use a global default (PXE Localboot Default) if a specific one is not defined. This is so that different hardware can have different localboot options if required.

TODO:
Tests
Option to switch back to old 2-state bahviour (Settings table?) - do we want this?