From 8c0bd9fe46d447fdc98346323158331288c40679 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Tue, 15 Apr 2014 14:51:53 +0200 Subject: [PATCH] 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 --- tools/ironic/templates/tftpd-xinetd.template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/ironic/templates/tftpd-xinetd.template b/tools/ironic/templates/tftpd-xinetd.template index 7b9b0f8a78..5f3d03f3bb 100644 --- a/tools/ironic/templates/tftpd-xinetd.template +++ b/tools/ironic/templates/tftpd-xinetd.template @@ -8,4 +8,7 @@ service tftp 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 }