PXElinux file is not getting generated under /var/lib/tftpboot/pxelinux.cfg/* while rebuilding the host in Red Hat Satellite 6.5

Solution Verified - Updated -

Issue

  • Custom snippet with the instance variable is not working after the Satellite upgrade to 6.5.
  • Customized template : "PXELinux default local boot" and added the snippet details in it.
<%#
kind: PXELinux
name: REDHAT - PXELinux default local boot
model: ProvisioningTemplate
-%>
<%# This template has special name (do not change it) and it is used for booting already provisioned hosts. -%>
#
# This file was deployed via '<%= @template_name %>' template
#
<%= snippet "RED - include" -%>
  • Syntax used in Red Hat Satellite 6.4 is :
<%-
@foo = 'bar'
-%>

<%= snippet "INCLUDE" %>

<% if @foo == 'bar' %>

  • Rebuilding the host using below command is not generating the PXElinux (01-00-50-56-a1-f0-be) file under /var/lib/tftpboot/pxelinux.cfg/* in Red Hat Satellite 6.5
 # hammer host rebuild-config --name client.example.com --only TFTP
   Configuration successfully rebuilt.

Environment

  • Red Hat Satellite 6.5
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content