Thank you, thank you, ... you have beaten me until i understand now the classes concepts. I can even<br>create a class. Now, i understand almost the whole FAI.<br><br><div class="gmail_quote">2010/9/24 BITTNER Peter (D3S) <span dir="ltr"><<a href="mailto:peter.bittner@thalesgroup.com">peter.bittner@thalesgroup.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Mama,<br>
<br>
I can understand it's tedious to go through the whole FAI-Guide and try<br>
to understand FAI bit-by-bit without hands-on experience.<br>
<br>
If you want to start understanding the classes concept in FAI I would<br>
suggest you check out two/three things:<br>
<br>
1.) The FAI config space (e.g. of the default FAI setup): As a rule of<br>
thumb, every CAPITAL file name oder directory refers to a CLASS (i.e. is<br>
a class name). This may start to give you an idea.<br>
* Directory names in the "files" folder in the level above the file<br>
with CLASS names are the files that FAI copies (a separate version per<br>
CLASS is possible).<br>
* The "scripts" directory contains 'CLASS name' directories, which<br>
contain scripts that are executed when the class is active.<br>
* The "50-host-classes" script in the "class" directory of the config<br>
space demonstrates a way how to define the classes active in an<br>
installation, simply echoing the class name. Have a look at it.<br>
<br>
2.) Start at this overview graphic:<br>
<a href="http://faiwiki.informatik.uni-koeln.de/index.php/FAI_Installation_Overview" target="_blank">http://faiwiki.informatik.uni-koeln.de/index.php/FAI_Installation_Overview</a><br>
The explanations below it will make you understand more, and also<br>
contain a link to the FAI-Guide chapter that explains "hooks" in detail<br>
(which are basically scripts that can be made to execute for each stage<br>
of installation).<br>
<br>
3.) Check out the Howto/Tutorial/User Manual categories in the FAIwiki<br>
if you have specific problems. Many/some questions you come across have<br>
been asked (and solved) before, and are documented there:<br>
<a href="http://faiwiki.informatik.uni-koeln.de/index.php/Special:Categories" target="_blank">http://faiwiki.informatik.uni-koeln.de/index.php/Special:Categories</a><br>
<br>
This should be sufficient to get you started.<br>
<br>
Peter<br>
<br>
<br>
Am Donnerstag, den 23.09.2010, 14:22 +0200 schrieb mamadou diop:<br>
<div><div></div><div class="h5">> Right. I haven't seen this thing in the documentation but from the<br>
> internet. In a tutorial on FAI,<br>
> someone had added the package 'python' at the top group<br>
> of /etc/fai/NFSROOT. The only things<br>
> i don't understand very well on FAI are the classes and hooks<br>
> concepts. Because i haven't learned the<br>
> shell, expect, perl nor cfengine programming.<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br>