Project

General

Profile

Feature #21204

Helper function to read settings and global default entry

Added by Lukas Zapletal about 1 year ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:

Description

Locked templates made very difficult to change to discovery in global default templates, user needs to unlock 2+2+2 (PXELinux, Grub, Grub2 template + discovery snippet) and make necessary changes just to change the default menu entry. This can be done via global setting.

Edit: After some discussion, it will be required to have explicit list of global settings which can be accessed by the helper. Also templates can be also modified to use host/hostgroup parameter when present to override the default behavior.


Related issues

Related to Foreman - Bug #24849: Use local instead of local_chain_hd0 default setting for local templatesClosed

Associated revisions

Revision bdcdb09c (diff)
Added by Lukas Zapletal 10 months ago

Fixes #21204 - introduced global_setting helper function (#4891)

Revision 0faf3900 (diff)
Added by Lukas Zapletal 9 months ago

Refs #21204 - default PXE entry from settings

Revision 9fa46aac (diff)
Added by Michael Moll 8 months ago

Refs #21204 - correct duplicate key in settings fixture

Revision db2f8275 (diff)
Added by Lukas Zapletal 2 months ago

Refs #21204 - use local as the default for grubs (#509)

History

#1 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/community-templates/pull/430 added

#2 Updated by The Foreman Bot about 1 year ago

  • Pull request https://github.com/theforeman/foreman/pull/4891 added
  • Pull request deleted (https://github.com/theforeman/community-templates/pull/430)

#3 Updated by The Foreman Bot about 1 year ago

  • Pull request https://github.com/theforeman/community-templates/pull/430 added

#4 Updated by Lukas Zapletal about 1 year ago

  • Description updated (diff)

Added some notes.

#5 Updated by Marek Hulán 10 months ago

  • Legacy Backlogs Release (now unused) set to 330

#6 Updated by Lukas Zapletal 10 months ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

#7 Updated by The Foreman Bot 8 months ago

  • Pull request https://github.com/theforeman/foreman/pull/5512 added

#8 Updated by Lukas Zapletal 3 months ago

  • Related to Bug #24849: Use local instead of local_chain_hd0 default setting for local templates added

#9 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/community-templates/pull/509 added

Also available in: Atom PDF