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.
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:
If the server is not specified, FAI tries to extract the server name from the nfsroot mount.
Example: nfs://faiserver/srv/fai/config
The directory has to be an absolute path. So, this URL always starts with three slashes like this: file:///
The config space is received from a cvs checkout.
The config space checked out from a subversion repository using several protocol variants. Checkouts without a user name are also supported.
You can specify the branch by adding #<branchname> without a whitspace before the #.
Example: git+ssh:://user@servername/srv/git/..../fai.git#branchname
The config space checked out from a git repository, host can be empty. Also supported is git+http.
The config space will be downloaded from the given location via the specified protocol. <filename> will be extracted by ftar(8), and thus needs to have a recognized suffix, such as .tar.gz or tar.xz.
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.
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.
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 |