From fc2e9e1c83913368554d19809c1db2a5d8797c1c Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Wed, 5 Jan 2022 16:16:33 +0100 Subject: [PATCH] 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 --- playbooks/roles/bifrost-ironic-install/defaults/main.yml | 2 +- releasenotes/notes/tftpboot-b7f448c1eb0b8187.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/tftpboot-b7f448c1eb0b8187.yaml diff --git a/playbooks/roles/bifrost-ironic-install/defaults/main.yml b/playbooks/roles/bifrost-ironic-install/defaults/main.yml index bb56e4075..6c7648eeb 100644 --- a/playbooks/roles/bifrost-ironic-install/defaults/main.yml +++ b/playbooks/roles/bifrost-ironic-install/defaults/main.yml @@ -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 diff --git a/releasenotes/notes/tftpboot-b7f448c1eb0b8187.yaml b/releasenotes/notes/tftpboot-b7f448c1eb0b8187.yaml new file mode 100644 index 000000000..b5548b84b --- /dev/null +++ b/releasenotes/notes/tftpboot-b7f448c1eb0b8187.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + The location of the PXE boot directory has been changed to + ``/var/lib/tftpboot``.