summaryrefslogtreecommitdiff
path: root/devstack/tools/ironic
diff options
context:
space:
mode:
authorSam Betts <sam@code-smash.net>2017-12-18 15:13:48 +0000
committerSam Betts <sam@code-smash.net>2018-10-30 10:36:26 +0000
commit55ac08ab8567df00a7cd91c1d471cd193a926f28 (patch)
tree33de1c642228cc0834152e7c53e4c9dd48420fdf /devstack/tools/ironic
parent7e47264ece751939aab9d54306ea61a2d02b36e9 (diff)
downloadironic-55ac08ab8567df00a7cd91c1d471cd193a926f28.tar.gz
[devstack] Allow setting TFTP max blocksize
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
Diffstat (limited to 'devstack/tools/ironic')
-rw-r--r--devstack/tools/ironic/templates/tftpd-xinetd.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/devstack/tools/ironic/templates/tftpd-xinetd.template b/devstack/tools/ironic/templates/tftpd-xinetd.template
index 5f3d03f3b..ec84b0588 100644
--- a/devstack/tools/ironic/templates/tftpd-xinetd.template
+++ b/devstack/tools/ironic/templates/tftpd-xinetd.template
@@ -6,7 +6,7 @@ service tftp
wait = yes
user = root
server = /usr/sbin/in.tftpd
- server_args = -v -v -v -v -v --map-file %TFTPBOOT_DIR%/map-file %TFTPBOOT_DIR%
+ 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.