How to properly use one fai for different distributions?
Thomas Neumann
blacky+fai at fluffbunny.de
Thu Oct 30 18:22:41 CET 2008
hiya
Thomas Lange schrieb:
> On Thu, 30 Oct 2008 14:02:14 +0100 (CET), "Thomas Neumann"
> <blacky+fai at fluffbunny.de> said:
>> and put it into CLASSNAME.tar.gz in the configspace/basefiles
>
>> That seems quite nice, but task_extrbase expects /var/tmp/base.tgz
>> and nothing else. (FAI 3.2.14) [Or is CLASSNAME.tgz expected
>> somewhere else and fai copies this to /var/tmp?]
> FAI expects base.tgz to be in /var/tmp inside the nfsroot. If a file
> $FAI/basefiles/CLASSNAME.tgz exists and this class is defined, then
> FAI uses this tgz file instead of the base.tgz. So the subdirectory
> basefiles must exists in your config space, which is /srv/fai/config
> by default.
Okay. Then I misunderstood the importance of "configspace/basefiles" in
the wiki. I assumed the 2 words to be synonymous and not a FS-hierarchy.
Maybe a little change like "<configspace>/basefiles/" would do the trick?
It's working now, but I had to do something additional. The original hook
"prepareapt" is dangerous. As described in
https://lists.uni-koeln.de/pipermail/linux-fai-devel/2008q2/000566.html
you _have_ to disable the original script when installing a distribution
that is different from the dist that fai is running on. Else at some point
in the installation apt-get tries to fetch packages from the wrong
distribution.
tschüß
thomas
More information about the linux-fai
mailing list