New directory for tftpd and FAI files?
Thomas Lange
lange at informatik.uni-koeln.de
Tue Sep 22 10:35:57 CEST 2009
Hi all,
with squeeze, the tftp daemon can only be run in daemon mode.
The default root directory for tftpd will be /srv/tftp.
Currently in FAI we change the root directory of tftpd from
/var/lib/tftpboot to /srv/tftp/fai, this is done in inetd.conf by
default.
I'm thinking about different possibilities how to handle that for
squeeze.
1) Use the new default path /srv/tftp for tfptd, so that no changes to
tftpd has to be done.
a) Use the subdirectory /srv/tftp/fai for FAI files as before,
which means that fai-chboot and the dhcpd.conf entry for
pxelinux.0 also must add the prefix fai/ to all filenames.
b) Put vmlinux*, initrd* files, pxelinux.0 and the pxelinux.cfg
subdirectoy under /srv/tftp, so no changes to dhcpd.conf and
fai-chboot has to be done.
2) The user has to change the default path of tftpd to /srv/tftp/fai,
no other changes are needed. Currently the user is asked to do this
change in inetd.conf when tftpd is started from inetd.
I appreceate any suggestions and like to hear your opinion.
--
regards Thomas
More information about the linux-fai-devel
mailing list