Hello there,
 
Since I'm not in control of the DHCP and DNS Servers, I'm not able to boot via PXE so I have to boot the FAI install clients from CD.
I did my first steps with $CONFIG on a separate FAI-Server and it worked okay. Now I want to install a FAI Server from scratch using FAI. So I need FAI_CONFIG_SRC=file:///var/lib/fai/config instead of the NFS-config.
 
Here the problems starts:
1. locales and keyboard-layout didn't work - okay I read the man-page and now build the CD with fai-cd -fMH.
Problem solved
 
2. I want to automatically integrate the Clients to a Windows AD (net join ads, samba and so on), so I need $DOMAIN to be recognized automatically.
With the following grub.cfg line (and $CONFIG on an existing FAI-Server) $DOMAIN is set correctly:
linux   /boot/vmlinuz boot=live root=/dev/nfs nfsroot=172.16.0.123:/srv/fai/nfsroot FAI_FLAGS="createvt" FAI_ACTION=install FAI_CONFIG_SRC=nfs://fai-server/srv/fai/config quiet
 
When I boot the same CD with grub.cfg line:
linux   /boot/vmlinuz boot=live FAI_FLAGS="createvt" FAI_ACTION=install FAI_CONFIG_SRC=file:///var/lib/fai/config quiet
then $DOMAIN is empty and set to 'localdomain' (by get-boot-info?). Even when I add domain=XYZ or DOMAIN=XYZ to the kernel-line it is not recognized.
 
Seems to be a bug. Or is it a configuration problem that I don't see?
Does anyone have any idea or workaround?
 
Christian Meyer

Antwort per Email an