fai.conf(5) File Formats Manual fai.conf(5)

fai.conf - FAI Configuration

/etc/fai/fai.conf

The configuration for a target host consists of two parts:

fai.conf defines the essential options to successfully start a FAI run. It must be valid bash(1) code. This configuration file is NOT copied into the nfsroot by fai-make-nfsroot.

This variable defines how to access the configuration space. It defines the protocol, the server and the location of the config space.

For an initial installation of a client this variable is defined by using fai-chboot(8). If you do a fai softupdate, you can set the value in /etc/fai/fai.conf or by using the option --cspace.

The following protocols and URL schemes are currently supported:

fai-chboot(8). At the end of an installation, fai(8) may connect to the install server using FAI_LOGPROTO (see below) to store the generated log files and to change the network boot configuration of the target host. By default calling fai-setup(8) will set up ssh access for LOGUSER so the install client can save the log files onto the server.

This will not be passed onto the fai clients. To enable this on the fai clients check /srv/fai/config/class/FAIBASE.var to activate the transfer of logfiles to the server.

This account should have write permissions for /srv/tftp/fai. For example, you can use write permissions for the group linuxadm. chgrp linuxadm /srv/tftp/fai;chmod g+w /srv/tftp/fai. If the variable is undefined, this feature is disabled.

Supported values are: ssh (default), rsh, ftp and none. This will only be used if also LOGUSER is set.

ssh: Use the scp command to copy the log files to the log server.

rsh: Use the rcp command to copy the log files to the log server.

ftp: This option saves logs to the remote FTP server defined by the $LOGSERVER variable ($SERVER value is used if not set). Connection to the FTP server is done as user $LOGUSER using password $LOGPASSWD. The FTP server log directory is defined in $LOGREMOTEDIR. These variables are also defined in file server. All files in the directory /tmp/fai are copied to the FTP server following this example:


ftp://$LOGUSER:$LOGPASSWD@$LOGSERVER/$LOGREMOTEDIR/

none: Don't save the log files to the install server.

If defined, FAI mounts the NFS share to $MNTPOINT during installation. Example: installserver:/srv/debianmirror

The port to which FAI sents messages, if the fai-monitor is running. Default to 4711. See also fai-monitor(8). This variable has to be set inside the nfsroot before the configuration space is available.

fai(8), fai-make-nfsroot(8), fai-setup(8), fai-mirror(1), fai-cd(8)

This file is part of FAI (Fully Automatic Installation). See the FAI manual for more information. The FAI homepage is https://fai-project.org.

This man page was written by Michael Tautschnig <mt@debian.org>.

December 2013 FAI 4.0