Project

General

Custom queries

Profile

Actions

Feature #7828

closed

Provide base URL of Foreman via foreman_url

Added by Lukas Zapletal over 10 years ago. Updated about 9 years ago.

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

Description

We currently can't use foreman_url in PXELinux Global Default or similar templates, because there is no @host accessible, therefore it leads to failed to process template: undefined method `token' for nil:NilClass errors.

We can easily allow this by skipping the token when @host attribute is not available.


Related issues 3 (1 open2 closed)

Related to Foreman - Bug #11723: Build PXE Default fails with errorClosedPhirince Philip09/08/2015Actions
Related to Foreman - Bug #14232: Missing variable to include Sat 6 Hostname in PXE MenusClosedMarek Hulán03/16/2016Actions
Related to Foreman - Feature #14245: Create new template helper setting('global_setting_name')NewLukas Zapletal03/17/2016Actions
#1

Updated by The Foreman Bot over 10 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/1827 added
  • Pull request deleted ()
#2

Updated by Bryan Kearney over 10 years ago

  • Bugzilla link set to 1176111
#3

Updated by Dominic Cleal over 9 years ago

  • Tracker changed from Bug to Feature
  • Status changed from Ready For Testing to New
  • Assignee deleted (Lukas Zapletal)
  • Target version deleted (1.7.2)
  • Pull request added
  • Pull request deleted (https://github.com/theforeman/foreman/pull/1827)
#4

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #11723: Build PXE Default fails with error added
#5

Updated by Dominic Cleal over 9 years ago

  • Subject changed from Allow foreman_url to be used in generic templates to Provide base URL of Foreman via foreman_url
#6

Updated by Marek Hulán about 9 years ago

  • Related to Bug #14232: Missing variable to include Sat 6 Hostname in PXE Menus added
#7

Updated by Marek Hulán about 9 years ago

  • Status changed from New to Duplicate
#8

Updated by Lukas Zapletal about 9 years ago

  • Related to Feature #14245: Create new template helper setting('global_setting_name') added
Actions

Also available in: Atom PDF