This is probably related to: #19465 
<http://projects.theforeman.org/issues/19465>

On Tuesday, June 20, 2017 at 7:49:14 AM UTC-5, Anthony Chevalet wrote:
>
> Hello,
>
> I'm running Foreman 1.14 and have an issue with host parameters not 
> available in user_data template.
>
> In the template I have:
> <%= @host.params['myparam'] %>
>
> On the host creation page, in the parameter tab, I add a host param 
> 'myparam' with value 'test'.
> Once created, the 'Preview' template correctly shows the param value.
>
> But the generated template on the target machine (in /var/lib/cloud..) 
> does not contain the param value (it is empty).
>
> If I set the parameter on hostgroup or subnet then it works as expected. 
> The problem is only with params at host level. 
>
> Any help would be much appreciated. 
>
> Anthony
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to