blob: 3dc622f7c859a07f0cc6906aa3a4c7dbdd481eff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
From: $from_addr
To: $to_addr
#if $getVar("interfaces","") != ""
Subject: $subject (system: $name, ip: $boot_ip)
#else
Subject: $subject (profile: $name, ip: $boot_ip)
#end if
Cobbler build report.
=======================================================
http://fedorahosted.org/cobbler
#if $getVar("interfaces","") != "":
system name : $name
profile : $profile
distro : $distro
#for $intf in $interfaces.keys():
#set $mac = $interfaces[$intf].get("mac_address","")
#set $ip = $interfaces[$intf].get("ip_address","")
#set $static = $interfaces[$intf].get("static","")
interface: $intf
mac: $mac
ip: $ip
static: $static
#end for
#else
profile : $name
distro : $distro
#end if
kernel_options: $getVar("kernel_options","")
#if $kickstart.startswith("/") or $kickstart == "":
#if $getVar("interfaces","") != ""
kickstart=http://$server/cblr/svc/op/ks/system/$name
#else
kickstart=http://$server/cblr/svc/op/ks/profile/$name
#end if
#else
kickstart=$kickstart
#end if
|