| 5 |
FAI Guide (Fully Automatic Installation) |
FAI Guide (Fully Automatic Installation) |
| 6 |
======================================== |
======================================== |
| 7 |
Thomas Lange <lange@informatik.uni-koeln.de> |
Thomas Lange <lange@informatik.uni-koeln.de> |
| 8 |
3.0.1, Fri 24 Sep 2010 14:19:06 +0200 |
3.0.2, Tue 28 Sep 2010 15:28:00 +0200 |
| 9 |
|
|
| 10 |
:faiver: 3.3 |
:faiver: 3.3 |
| 11 |
:nfsrootsize: 380 |
:nfsrootsize: 380 |
| 888 |
The following tasks are performed during an installation after the |
The following tasks are performed during an installation after the |
| 889 |
Linux kernel has booted on the install clients. |
Linux kernel has booted on the install clients. |
| 890 |
|
|
| 891 |
. Set up FAI |
____ |
| 892 |
. Define classes |
confdir # get config space |
| 893 |
. Define variables |
setup # early part of initialization |
| 894 |
. Partition local disks |
defclass # define classes |
| 895 |
. Create and mount local file systems |
defvar # define variables |
| 896 |
. Do debconf preseeding |
action # evaluate FAI_ACTION |
| 897 |
. Install software packages |
install # Do the initial installation |
| 898 |
. Call site specific configuration scripts |
partition # partition the harddisks, create file systems |
| 899 |
. Call tests if available |
mountdisks # mount the file systems |
| 900 |
. Save log files |
extrbase # extract the minimal base.tgz |
| 901 |
. Reboot the new installed system |
mirror # get a Debian mirror via NFS |
| 902 |
//// |
debconf # do Debian preseeding |
| 903 |
MT update base missing |
prepareapt # preapre some apt-related files in target directory |
| 904 |
//// |
updatebase # Debian specific |
| 905 |
|
HOOK instsoft.FAIBASE # fcopy kernel-img.conf |
| 906 |
|
instsoft # install software packages |
| 907 |
|
configure # call customization scripts |
| 908 |
|
finish # do some cleanup, show installation time |
| 909 |
|
tests # call tests if defined |
| 910 |
|
chboot # call fai-chboot on the install server |
| 911 |
|
HOOK savelog.LAST # grep for error messages in all log files |
| 912 |
|
savelog # save log file to local dir and remote |
| 913 |
|
faiend # reboot host, eject CD if needed |
| 914 |
|
____ |
| 915 |
|
____ |
| 916 |
|
|
| 917 |
|
These are tasks, which are executed when a different action is performed |
| 918 |
|
|
| 919 |
|
dirinstal # install a chroot environment |
| 920 |
|
softupdate # do a system configuration without the partitioning part |
| 921 |
|
____ |
| 922 |
|
|
| 923 |
|
|
| 924 |
You can also define additional programs or scripts which will be run |
You can also define additional programs or scripts which will be run |
| 925 |
on particular occasions. They are called _hooks_. Hooks can add |
on particular occasions. They are called _hooks_. Hooks can add |