Project

General

Profile

Actions

Bug #17395

closed

@host.params are not interpreted when was used in ptable kickstart template.

Added by Tomasz Gromowski over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Fixed in Releases:
Found in Releases:

Description

I try to interpolate some variables in partition table template.
And when i put in ptable for example:
<%= @host.params['vg_name'] %>
then any of param aren't interpolated by renderer.

However when i checked generated template for host in
Host > template> provisioning template -> review,
everything looks fine, variables are interpolated

But when i GET
http://foreman.local/unattended/provision?token=a9e59aec-f66d-4558-8a9e-3252d62ee428
All variables are default in whole kickstart file

It's issue only for RedHat family OS because for Debian everything works great.
I attach my ptable templates.


Files

kickstart-lvm.txt kickstart-lvm.txt 1.72 KB Tomasz Gromowski, 11/18/2016 11:14 AM
provision_hostname.txt provision_hostname.txt 4.46 KB Tomasz Gromowski, 11/22/2016 07:54 AM
provision_token.txt provision_token.txt 4.46 KB Tomasz Gromowski, 11/22/2016 07:54 AM
provision_template_get.log provision_template_get.log 153 KB Tomasz Gromowski, 11/23/2016 09:02 AM
production.log production.log 413 KB Kevin Carrasco, 11/29/2016 06:25 PM
production.log production.log 606 KB Maurice Mouw, 12/02/2016 09:02 AM

Related issues 2 (0 open2 closed)

Related to Foreman - Bug #15599: Unattended controller can't access host parameters in kickstart templatesClosedOri Rabin07/07/2016Actions
Related to Foreman - Bug #13164: view_params is missingClosedOri Rabin01/12/2016Actions
Actions

Also available in: Atom PDF