File: classes_description.txt

package info (click to toggle)
fai 4.3.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 1,740 kB
  • sloc: perl: 5,115; sh: 4,272; makefile: 157
file content (64 lines) | stat: -rw-r--r-- 1,952 bytes parent folder | download | duplicates (7)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Description of the classes		Tue, 10 Jan 2006 18:02:19 +0100
--------------------------

If you want to find all files (except hostnames) that are classes try:
   find /srv/fai/config -type f | egrep '/[[:upper:][:digit:]_]+$'

In cfengine scripts you can find class names using:
   egrep -r '[[:upper:][:digit:]_]+::' /srv/fai/config

Shell scripts are using the commad ifclass. So use:
   egrep -r 'ifclass[[:space:]]+[[:upper:][:digit:]_]+' /srv/fai/config


Class name       used in  Description
----------------------------------------------------
	       CHVDPSF A	

DHCPC		   PS     do network configuration using dhcp-client

GERMAN		   P	  packages for the german environment

XFREE		   P      packages for xfree server, fonts,...

LILO		    S	  create lilo.conf, install lilo

GRUB		    S	  install and configure grub

FAI_BOOTPART	    S     add fai boot menu to lilo.conf or grub's menu.lst

LAST		    S 	  remove backup files of cfengine, link /tmp
			  if necessary, add nfs location of debian
			  mirror to fstab

FAIBASE	       C V PS     minimal software list, configure base stuff
			  (TODO: describe in more detail)

FAISERVER      DESFP	  setup install server with DHCP, TFTP,
			  partial mirror, call fai-setup during
			  first boot

DEMO               PS	  more demo packages, add account demo (pw: fai)

NOMBR		    S     install boot loader into root partition (not into MBR)

Explanation of "used in":
-------------------------
C = /fai/class/
V = used for *.var in /fai/class
D = /fai/disk_config/
E = /fai/debconf/
P = /fai/package_config/
S = /fai/scripts/
F = /fai/files/ (used by fcopy)
A = auto class (defined by a script)
H = /fai/hooks

The following classes should always be defined:

LAST, DEFAULT (are defined by default)
BOOT and maybe MBR

Some classes depends on another class. For example, the class NTP is used
in the script NETWORK. So both classes must be defined if the ntp
configuration should be created.