Hooks not working with 4.3.1?

Bob Apodaca bob at phxlab.honeywell.com
Thu Jan 28 20:31:33 CET 2016


I am using FAI with Debian 8 ("Jessie") and each time I re-run 
fai-make-nfsroot my hooks are not run. I have them set-up as follows:

# ls -l /etc/fai/nfsroot-hooks/
total 4
-rwxr-xr-x 1 root root 197 Sep 15 09:31 scripts.sh

The scripts.sh has the following:

-----
#!/bin/sh

install -g root -o root -m 0644 /etc/dhcp/dhclient.conf 
/srv/fai/nfsroot/etc/dhcp/dhclient.conf
-----

I can run the script with an interactive shell and it works. Any ideas?


More information about the linux-fai mailing list