hiya >> contents of /srv/fai/config/class/01-init.source >> --- >> #!/bin/bash >> >> TESTVAR="foobar" >> export TESTVAR >> ---
> So ... does that work? IMHO it should, but as Michael Goetze said, you > probably cannot do more than this, like use $TESTVAR in some *.var files > or somewhere later on. Could you verify this? in class/ it works, in scripts/ it doesn't Result follows prediction. How to make both sides work: contents of /srv/fai/config/class/01-init.source --- #!/bin/bash TESTVAR="foobar" export TESTVAR echo "TESTVAR=$TESTVAR" >> /tmp/MyDefaults.var newclasses="MyDefaults" > --- where $FAI/class/MyDefaults.var is a symbolik link to /tmp/MyDefaults.var tschüß thomas