ainsl does not work after upgrade from FAI 3 to FAI 4

Thomas Lange lange at informatik.uni-koeln.de
Tue Dec 4 22:19:32 CET 2012


After I upgraded my nfsroot from FAI 3.4.8 to FAI 4 the command
ainsl(1) in my config scripts did not worked any more. I've got this
error in shell.log: 

ainsl: target file /target/target/etc/hosts does not exist.

This was due to old code in my script:

   ainsl -v $target/etc/hosts

In FAI 4, ainsl uses the variable AINSL_TARGET which is set by
default. Therefore I had to remove $target from my config script from
each ainsl call like this

   ainsl -v /etc/hosts

After that, ainsl works as expected.
-- 
regards Thomas


More information about the linux-fai mailing list