
Configuring the block size correctly for TFTPd prevents fragmentation of the TFTP UDP packets, which can significantly slow down or even prevent servers from booting correctly with PXE. Change-Id: Ic00bbcfb3137edb58479c019edb3fcdc4ef55d69
15 lines
452 B
Plaintext
15 lines
452 B
Plaintext
service tftp
|
|
{
|
|
protocol = udp
|
|
port = 69
|
|
socket_type = dgram
|
|
wait = yes
|
|
user = root
|
|
server = /usr/sbin/in.tftpd
|
|
server_args = -v -v -v -v -v --blocksize %MAX_BLOCKSIZE% --map-file %TFTPBOOT_DIR%/map-file %TFTPBOOT_DIR%
|
|
disable = no
|
|
# This is a workaround for Fedora, where TFTP will listen only on
|
|
# IPv6 endpoint, if IPv4 flag is not used.
|
|
flags = IPv4
|
|
}
|