devstack/tools/ironic/templates/tftpd-xinetd.template
Dmitry Tantsur 8c0bd9fe46 Force TFTP to listen on IPv4 endpoint
On Fedora with the default configuration TFTP will listen only
on IPv6 endpoint, making imporrible for a node to reach TFTP.
This patch forces TFTP to listen on IPv4 endpoint by modifying
Xinet.d template.

Change-Id: I1ed315fae38816c8e0c2a736261d1c3736f437ff
2014-05-02 13:03:25 +02:00

15 lines
424 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 --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
}