FAI multi-distribution: Difference between revisions
(update information about CentOS support) |
(remove example for rhel5 mirror. add link to ready-made basefiles) |
||
Line 28: | Line 28: | ||
==== CentOS ==== | ==== CentOS ==== | ||
FAI 3.4.8 and the config space examples from 4.0 can install CentOS 5. | FAI 3.4.8 and the config space examples from 4.0 can install CentOS 5. | ||
Works with CentOS 5 and rinse 1.8. | Works with CentOS 5 and rinse 1.8. More documentation will apear on | ||
the mailing list. Ready-made basefiles are available at http://fai-project.org/download/basefiles/. | |||
==== Scientific Linux Cern ==== | ==== Scientific Linux Cern ==== | ||
FAI 3.4.8 and the config space examples from 4.0 can install SCL 5 and 6. | FAI 3.4.8 and the config space examples from 4.0 can install SCL 5 and 6. | ||
Ready-made basefiles are available at http://fai-project.org/download/basefiles/. | |||
==== RHEL5 ==== | ==== RHEL5 ==== | ||
Redhat Enterprise Linux 5 | Redhat Enterprise Linux 5 | ||
This should work in the same way as CentOS 5. | |||
== Bootstrapping the base images for other distributions == | == Bootstrapping the base images for other distributions == | ||
Have a look at examples/simple/basefiles/mk-basefile. Works for | Have a look at examples/simple/basefiles/mk-basefile. Works for | ||
Ubuntu, CentOS, SLC. For | Ubuntu, CentOS, SLC. For RPM based distributions it uses rinse. | ||
[[Category:Howto]] | [[Category:Howto]] |
Revision as of 18:52, 14 June 2011
Status
FAI can install different Linux distributions like Redhat (especially RHEL5), Fedora, CentOS, openSUSE, SuSE, Ubuntu and of course Debian.
Since FAI 3.1.8 already has the most important things integrated:
- unpacking a base.tgz named CLASS.tar.gz from the configspace directory "basefiles"
- Alternative to this, via hook: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494386
- using other package managers (see install_packages or it's doc)
Installing other distributions
A Quick overview:
- build a minimal base image (see basefiles/Makefile which uses rinse) and put it into MY-DISTRIBUTION-NAME.tar.gz in the configspace/basefiles
- add the install host to the class MY-DISTRIBUTION-NAME
- write a hook prepareapt.MY-DISTRIBUTION-NAME to replace the stuff specific for the distribtuion of the fai server with something suitable to get your specific distribution ready to install packages. The actual prepareapt task must be skipped
- check that the package lists of the classes of that host are compatible for your distribution. See install-packages -H
- install as usual
Distribution specific stuff
SuSE
A more verbose description on how to do this with SLES9 is available here
CentOS
FAI 3.4.8 and the config space examples from 4.0 can install CentOS 5. Works with CentOS 5 and rinse 1.8. More documentation will apear on the mailing list. Ready-made basefiles are available at http://fai-project.org/download/basefiles/.
Scientific Linux Cern
FAI 3.4.8 and the config space examples from 4.0 can install SCL 5 and 6. Ready-made basefiles are available at http://fai-project.org/download/basefiles/.
RHEL5
Redhat Enterprise Linux 5
This should work in the same way as CentOS 5.
Bootstrapping the base images for other distributions
Have a look at examples/simple/basefiles/mk-basefile. Works for Ubuntu, CentOS, SLC. For RPM based distributions it uses rinse.