kolla/docker/ironic/ironic-pxe/tftp-map-file-template
Mark Goddard 1bb57ae116 ironic: make tftpboot and httpboot paths configurable
This is needed to support PXE and iPXE at the same time. We will move
/tftpboot and /httpboot to /var/lib/ironic/. With these paths
configurable via an environment variable, we can support a clean
transition.

This patch also cleans up pxelinux part, making it
analogous to grub and ipxe parts.

RHEL leftover mention is removed.

Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Needed-By: https://review.opendev.org/c/openstack/kolla-ansible/+/832159

Change-Id: I1ae81217c8bbf606c903c8009a372662ca3ab08c
2022-04-05 19:46:10 +00:00

5 lines
144 B
Plaintext

re ^(${TFTPBOOT_PATH}/) ${TFTPBOOT_PATH}/\2
re ^${TFTPBOOT_PATH}/ ${TFTPBOOT_PATH}/
re ^(^/) ${TFTPBOOT_PATH}/\1
re ^([^/]) ${TFTPBOOT_PATH}/\1