[PATCH/foreman 1/1] # 1175 -- PXELinux does not render with spoof

Signed-off-by: Jacob McCann <gaferion@gmail.com>

··· From: Jacob McCann --- app/controllers/unattended_controller.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/controllers/unattended_controller.rb b/app/controllers/unattended_controller.rb
index 0001b5e…40faba3 100644
— a/app/controllers/unattended_controller.rb
+++ b/app/controllers/unattended_controller.rb
@@ -15,7 +15,7 @@ class UnattendedController < ApplicationController
skip_before_filter :require_ssl, :require_login, :authorize

We want to find out our requesting host

  • before_filter :get_host_details,:allowed_to_install?, :except => PXE_CONFIG_URLS + [:template]
  • before_filter :get_host_details,:allowed_to_install?
    before_filter :handle_ca, :only => PROVISION_URLS

    load “helper” variables to be available in the templates

    before_filter :load_template_vars, :only => PROVISION_URLS

    1.7.4.1