From f927b7411ee241f5be9e983fa45c3d2c3fc96323 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Fri, 10 Dec 2021 13:52:17 +0100 Subject: [PATCH] Move tftp_master_path to a subdirectory (fixes #333) This path is where the cache is maintained, and Ironic cleans it up periodically. Keeping it in /shared/tftpboot means that Ironic may remove files from it. --- ironic-config/ironic.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ironic-config/ironic.conf.j2 b/ironic-config/ironic.conf.j2 index 6bb4bc38d..632db1e48 100644 --- a/ironic-config/ironic.conf.j2 +++ b/ironic-config/ironic.conf.j2 @@ -169,7 +169,7 @@ images_path = /shared/html/tmp instance_master_path = /shared/html/master_images ipxe_enabled = true pxe_config_template = $pybasedir/drivers/modules/ipxe_config.template -tftp_master_path = /shared/tftpboot +tftp_master_path = /shared/tftpboot/master_images tftp_root = /shared/tftpboot uefi_pxe_config_template = $pybasedir/drivers/modules/ipxe_config.template pxe_append_params = nofb nomodeset vga=normal ipa-insecure=1 {% if env.IRONIC_RAMDISK_SSH_KEY %}sshkey="{{ env.IRONIC_RAMDISK_SSH_KEY|trim }}"{% endif %} {{ env.IRONIC_KERNEL_PARAMS|trim }}