Project

General

Profile

TemplateWriting » History » Version 2

Justin Sherrill, 02/01/2011 12:36 PM

1 1 Justin Sherrill
h1. Templates
2
3
4
5
6
7 2 Justin Sherrill
h2. Functions:
8 1 Justin Sherrill
9
|_.Name|_.Description|_.Example|
10
|root_pass  |The root password configured for the system| |
11
|ks_console | | |
12
|snippets|  | | |
13
|foreman_url(kind)| Provides the full URL to   | |
14
15
16
|_.Name|_.Description|_.Example|
17
|@host                |The name of the host| |
18
|@host.name                |The name of the host| |
19
|@host.diskLayout     |The disklayout of the host (could come from the operating system)| |
20
|@host.puppetmaster   |The puppetmaster the host should use | |
21
|@host.architecture   |The arch of the host (i.e. x86_64)| |
22
|@host.operatingsystem|The operating system name| |
23
|@host.operatingsystem.media_url |||
24
|@host.operatingsystem.major |The major version of the OS||
25
|@host.operatingsystem.minor |The minor version of the OS||
26
|@host.operatingsystem.family |The OS Family (I.e. redhat, debian, etc.)||
27
|@host.operatingsystem.kernel(arch) |The initrd path||
28
|@host.operatingsystem.initrd(arch) |The kernel path||
29
|@host.url_for_boot(:kernel) |||
30
|@host.url_for_boot(:initrd) |||
31
32
33
34 2 Justin Sherrill
h2. Kickstart only variables:
35
36 1 Justin Sherrill
|_.Name|_.Description|_.Example|
37
|@dynamic |||
38
|@osver |||
39
|@arch |||
40
|@mediapath |||
41
|@epel |||
42
|@yumrepo |||
43
|@static |||
44
45 2 Justin Sherrill
h3. Preseed attributes:
46 1 Justin Sherrill
|_.Name|_.Description|_.Example|
47
|@preseed_path |||
48
|@preseed_server |||