Change the TFTP directory to /var/lib/tftpboot

This avoids polluting the root file system and groups runtime
information where it belongs: in /var. When PXE boot is used, it makes
sure that the master image cache is on the same file system.

Change-Id: Ie20b5fb5d8d01d33d8420fd3a77216be44bb7576
This commit is contained in:
Dmitry Tantsur 2022-01-05 16:16:33 +01:00
parent 3cb96f1b67
commit fc2e9e1c83
2 changed files with 6 additions and 1 deletions

View File

@ -9,7 +9,7 @@ cleaning_disk_erase: false
# cycle
fast_track: true
tftp_boot_folder: /tftpboot
tftp_boot_folder: /var/lib/tftpboot
http_boot_folder: /var/lib/ironic/httpboot
boot_folder_permissions: "0750"
ironic_tftp_master_path: /var/lib/ironic/master_images

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
The location of the PXE boot directory has been changed to
``/var/lib/tftpboot``.