openstack-ansible-os_ironic/templates/map-file
James Denton 8f3a9e207c Add iPXE support to Ironic Conductor
This patchset adds support for iPXE, which can speed up baremetal
provisioning considerably due to the use of HTTP versus TFTP.

Change-Id: I8b49ae37a0380cd7a2191f050a52c85cc373026b
2020-10-22 15:24:19 +00:00

10 lines
343 B
Plaintext

{% if not ironic_ipxe_enabled | bool %}
re ^({{ ironic_tftpd_root }}/) {{ ironic_tftpd_root }}/\2
re ^{{ ironic_tftpd_root }}/ {{ ironic_tftpd_root }}/
re ^(^/) {{ ironic_tftpd_root }}/\1
re ^([^/]) {{ ironic_tftpd_root }}/\1
{% else %}
r ^([^/]) {{ ironic_tftpd_root }}/\1
r ^({{ ironic_tftpd_root }}/) {{ ironic_tftpd_root }}/\2
{% endif %}