dirinstall overwrites hostname in fai 5.3

Thomas Lange lange at informatik.uni-koeln.de
Tue Jan 3 14:10:44 CET 2017

Hi Andy,

I cannot confirm this bug. Just tested with FAI 5.3.2 and a new
config space.

fai -v -u newhostname -cFAIBASE,DEBIAN,AMD64 -s file:///srv/fai/config dirinstall /srv/jessie

The hostname remains unchanged. I guess you are using some old hooks in
your config space, which may change the hostname. Check if
hooks/setup.DEFAULT.sh looks like this:

if [ $do_init_tasks -eq 1 ]; then
  echo $HOSTNAME > /proc/sys/kernel/hostname

If this does not fix your problem, I need a fai dirinstall run with debug output.

regards Thomas

More information about the linux-fai mailing list