Bug 1384019 - Grub1 EFI searches kernel in grub/boot instead of boot
Summary: Grub1 EFI searches kernel in grub/boot instead of boot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning Templates
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Daniel Lobato Garcia
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-12 11:31 UTC by Roman Plevka
Modified: 2019-09-25 20:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:51:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 16882 0 None None None 2016-10-12 12:06:12 UTC

Description Roman Plevka 2016-10-12 11:31:06 UTC
We need to add ".." in the Grub1 Kickstart template.

Comment 1 Roman Plevka 2016-10-12 11:31:08 UTC
Created from redmine issue http://projects.theforeman.org/issues/16882

Comment 2 Roman Plevka 2016-10-12 11:31:13 UTC
Upstream bug assigned to lzap

Comment 4 Bryan Kearney 2016-10-12 16:15:50 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16882 has been resolved.

Comment 5 Daniel Lobato Garcia 2017-08-30 12:54:55 UTC
Verified.

Tested on Satellite 6.3 - Snap 13

Here's the relevant part from the template in this version - notice the '../' after the 'kernel (nd)' - those are the additions that fix this bug.

title <%= template_name %>
  root (nd)
  kernel (nd)/../<%= @kernel %> ks=<%= foreman_url('provision') %> <%= pxe_kernel_options %> <%= ksoptions %>
  initrd (nd)/../<%= @initrd %>

Comment 6 Satellite Program 2018-02-21 16:51:07 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> 
> For information on the advisory, and where to find the updated files, follow the link below.
> 
> If the solution does not work for you, open a new bug report.
> 
> https://access.redhat.com/errata/RHSA-2018:0336


Note You need to log in before you can comment on or make changes to this bug.