Hello there,
I took a deeper look at the dhcp leases and I'm still confused:

Von: "Christian Meyer" <c2h...@web.de>
> $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
/var/lib/dhcp/dhclient.leases exists and is empty
/var/lib/dhcp/dhclient.eth0.leases misses

> 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?).
/var/lib/dhcp/dhclient.leases exists and is empty
/var/lib/dhcp/dhclient.eth0.leases contains the dhcp information (with correct 
domain-name)
So DHCP works correctly.

Why does task confdir extract the domain-name to $DOMAIN when config dir lives 
on the fai-server and ignores it when it lives on CD/USB-stick?
 
Christian Meyer

Antwort per Email an