How to access parameters in preseed/kickstart files

Hello,

I've defined parameters in groups, domain and global parameters, but i
don't understand how to reference them in
preseed or kickstart files:
<%= @host.??? %>

Thanks

@host.params :slight_smile:

Ohad

··· On Fri, Oct 15, 2010 at 3:27 PM, vince wrote:

Hello,

I’ve defined parameters in groups, domain and global parameters, but i
don’t understand how to reference them in
preseed or kickstart files:
<%= @host.??? %>

Thanks


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.comforeman-users%2Bunsubscribe@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.

> @host.params :slight_smile:
Thank you, i couldn't manage to find such info on the wiki.
By the way, is it possible to have a list of all the built-in
parameters we can reference in unattended files, this is what i got so
far from the example templates:
@host.root_pass
@host.environment
@host.diskLayout
@host.name
@host.puppetmaster
@host.domain.name
@host.operatingsystem.release_name
@host.ip
@install_type
@partitioning
@archive_location
@system_type
@cluster
@locale
@mediapath
@osver
@dynamic
@core
@base
@epel
@yumrepo
@preseed_server
@preseed_path
@host.operatingsystem.release_name
@preseed_server
@preseed_path
@host.operatingsystem.release_name
foreman_url
@archive_location
ks_console
foreman_url("preseed_finish")
grub_pass

Regards

··· On Oct 15, 8:48 pm, Ohad Levy wrote:

Ohad

On Fri, Oct 15, 2010 at 3:27 PM, vince ben.online.stora...@gmail.comwrote:

Hello,

I’ve defined parameters in groups, domain and global parameters, but i
don’t understand how to reference them in
preseed or kickstart files:
<%= @host.??? %>

Thanks


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.comforeman-users%2Bunsubscribe@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.