Bug #12791
The architecture is not interpolated for the variable @host.url_for_boot(:initrd) on suse based systems
Pull request:
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
Associated revisions
refs #12791 - use boot_files_uri for SUSE iPXE
Closes GH-239
fixes #12791 - allow access to boot_files_uri and medium in safe_mode
(cherry picked from commit 1c81a696e4556ae3c17146afaff2fe6e2c52688d)
History
#1
Updated by Anonymous over 6 years ago
- Related to Bug #9782: Using media_path in Templates does not resolve properly added
#2
Updated by The Foreman Bot over 6 years ago
- Assignee set to Anonymous
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3153 added
#3
Updated by Anonymous over 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 1c81a696e4556ae3c17146afaff2fe6e2c52688d.
#4
Updated by Dominic Cleal over 6 years ago
- Legacy Backlogs Release (now unused) set to 123
fixes #12791 - allow access to boot_files_uri and medium in safe_mode