using nfsroot-hooks

Thomas Lange lange at informatik.uni-koeln.de
Wed Sep 30 11:41:41 CEST 2015


>>>>> On Tue, 29 Sep 2015 08:28:13 -0500, John G Heim <jheim at math.wisc.edu> said:

    > Anybody got some good example scripts for using w/i nfsroot-hooks? Some 
    > things I want to do:
Hi John,

hooks for fai-make-nfsroot are no that flexible as in a normal FAI
installation. There are only two placed, where fai-make-nfsroot calls
hooks. Both are after all packages are already installed into the
nfsroot. So, it will not help if you want to add apt keys before
installing more packages. Except of you install those packages in your
hook but not using /etc/fai/NFSROOT.
If you want to restore ssh from a previous nfsroot creation, there's
the option -p. It only restores the $NFSROOT/root/.ssh directory, not
the host keys inside the nfsroot.

I myself do not use hooks for fai-make-nfsroot. so I do not have any
examples for you.

-- 
regards Thomas


More information about the linux-fai mailing list