Project

General

Profile

Actions

Bug #745

closed

PXELinux <%= @host.name %>

Added by Arnaud Sourioux about 13 years ago. Updated about 12 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Unattended installations
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When I use the <%= @host.name %> var in my PXELinux file
the template is correctly generated if I acces it from : /unattended/template/$template_name/$hostgroup
but when I click on build I got this error :
"undefined method 'name' for nil:NilClass on generate PXELinux template"


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #1385: Allow @host.model in provisioning templatesClosedMikael Fridh12/08/2011Actions
Actions

Also available in: Atom PDF