kayobe/ansible/roles/dell-switch-bmp/templates/dell-switch-bmp.conf.j2
Mark Goddard 20fdea4bde Add support for Bare Metal Provisioning (BMP) of Dell switches via seed
We extend the configuration of the Bifrost dnsmasq server on the seed to
support Bare Metal Provisioning of Dell switches.
2017-03-24 16:14:48 +00:00

13 lines
440 B
Django/Jinja

# {{ ansible_managed }}
# This file provides dnsmasq configuration for Dell Switches using Bare Metal
# Provisioning (BMP).
{% for image in dell_switch_bmp_images %}
# Match entry for Dell Switch BMP image {{ image.dest }}.
dhcp-match=set:{{ image.tag }},{{ image.match }}
# Boot entry for Dell Switch BMP image {{ image.dest }}.
dhcp-boot=tag:{{ image.tag }},{{ dell_switch_bmp_http_base_url }}/{{ image.dest | basename }}
{% endfor %}