Project

General

Profile

Bug #12791

The architecture is not interpolated for the variable @host.url_for_boot(:initrd) on suse based systems

Added by Vincent Lequertier over 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

$arch is not interpolated in @host.url_for_boot(:initrd) and @host.url_for_boot(:kernel) for suse based systems.

For example, I have $arch instead of x86_64 when viewing the template for a host which is suse based

I think the issue comes from there :

https://github.com/theforeman/foreman/blob/develop/app/models/operatingsystems/suse.rb#L12

Let me know if you need more infos


Related issues

Related to Foreman - Bug #9782: Using media_path in Templates does not resolve properlyClosed2015-03-16

Associated revisions

Revision 1c81a696 (diff)
Added by Michael Moll over 3 years ago

fixes #12791 - allow access to boot_files_uri and medium in safe_mode

Revision 6b5d7f37 (diff)
Added by Michael Moll over 3 years ago

refs #12791 - use boot_files_uri for SUSE iPXE

Closes GH-239

Revision d1d6690b (diff)
Added by Michael Moll over 3 years ago

fixes #12791 - allow access to boot_files_uri and medium in safe_mode

(cherry picked from commit 1c81a696e4556ae3c17146afaff2fe6e2c52688d)

History

#1 Updated by Michael Moll over 3 years ago

  • Related to Bug #9782: Using media_path in Templates does not resolve properly added

#2 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Michael Moll
  • Pull request https://github.com/theforeman/foreman/pull/3153 added

#3 Updated by Michael Moll over 3 years ago

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

#4 Updated by Dominic Cleal over 3 years ago

  • Legacy Backlogs Release (now unused) set to 123

Also available in: Atom PDF