Bug 1384019

Summary: Grub1 EFI searches kernel in grub/boot instead of boot
Product: Red Hat Satellite Reporter: Roman Plevka <rplevka>
Component: Provisioning TemplatesAssignee: Lukas Zapletal <lzap>
Status: CLOSED ERRATA QA Contact: Daniel Lobato Garcia <dlobatog>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.4CC: bbuckingham, dlobatog, mhulan
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/16882
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:51:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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