Class Reading order

Adrian Gibanel Lopez agibanel at alumnes.udl.cat
Fri Feb 6 11:14:04 CET 2009


Hi FAI list,

Here I am again.
I am writing some documentation for my thesis on how FAI understand classes.

Let's suppose that I define my own class XUBUNTUDESKTOP.
I mean I edit 50-host-classes and I add:

  xubuntudesktop*)
  	echo "FAIBASE DHCPC XUBUNTUDESKTOP";;

Let's suppose that I add a file
named XUBUNTUDESKTOP in the package_config dir in the fai configuration
folder
so that install the xubuntu-desktop metapackage.


Is it correct to say:

FAI will automatically install the packages found on these files (in this
order): XUBUNTUDESKTOP, DHCPC, FAIBASE, DEFAULT, LAST and finally as an
option a file that has the same name as the host we are installing?

There are some implicit questions here:
   - The latter defined class gets more preference?
   - DEFAULT is it class that it is always interpreted?
   - LAST is it class that it is always interpreted?

Thank you very much for your help.

-- 
Firma Automática 1:
---------------------
Adrian Gibanel Lopez
Estudiante de Ingenieria de Informatica de Sistemas en la Universitat de
LLeida.
Firma Automática 2:
---------------------
Participante en el III Concurso Universitario de Software Libre.
Proyecto: Desdeslin. http://desdeslin.wordpress.com


More information about the linux-fai mailing list