Yeah, you're right. DHCP server can gives NFS server and hostname informations. For now, I'm trying my setup with a fixed IP such like this;

kernel /boot/vmlinuz root=/dev/nfs boot=live FAI_FLAGS="verbose,createvt" FAI_ACTION=install ip=192.168.0.88::::hostname:eth0:on rw nfsroot=192.168.0.10: /srv/fai/nfsroot/live/filesystem.dir initrd /boot/initrd.img-2.6.18-fai-install

My first version of bash script made some basic copies and adduser's style command lines.

But, installing more than a 1000 clients with, custome datas, setings and PKI informations, needs some interactive actions...

Thomas Neumann a écrit :
hiya

venne schrieb:
I'd like to execute the script at the beging of FAI process.(to make
choice about PKI, IP and user's informations) is it possible?

A colleague of mine wrote a perl script which retrieves the hostname, the
server's domainname and it's service from a database and this script works
really well. It doesn't involve an interactive response, maybe that's why
your script is stalling.


(Yes, I'm aware that hostname and domainname could easily be provided by
dns and dhcp, but we deliberately decided against it. This way we can
install a server even if dns isn't properly configured yet.)

tschüß
thomas



--
Apple is for work
Unix is for network
Microsoft is for solidaire

Antwort per Email an