securing installation
Henning Glawe
glaweh at physik.fu-berlin.de
Wed Sep 12 18:45:07 CEST 2007
On Wed, Sep 12, 2007 at 06:14:26PM +0200, Michael Tautschnig wrote:
> [...]
> >> I think it works the following way: put your code in a script
> >> $NFSROOT/$FAI/hooks/confdir.DEFAULT, where $NFSROOT and $FAI are set in
> >> make-fai-nfsroot.conf and fai.conf, respectively.
> >
> > I'll try this out tomorrow. I now have my FAI pulling the config space
> > from a svn repository.
> >
> Just to make sure we get this right: That hooks/ directory will later be
> effectively overwritten by the SVN checkout and well, hmm, I'm not even sure one
> gets to see the hook at all as it must be made available within tmpfs. @Thomas:
> Could you maybe comment on this one?
I am using a quite ugly hack:
---- in /etc/fai/fai.conf ----
[...]
if [ -d "/etc/fai/hooks" ]; then
FAI=/etc/fai
fi
[...]
---- in /etc/fai/hooks/confdir.DEFAULT.source ----
[...]
get_the_config
FAI=the_real_fai_config_path
[...]
--
c u
henning
More information about the linux-fai
mailing list