dhcpd.default.stretch 791 B

12345678910111213141516171819
  1. # Defaults for isc-dhcp-server (sourced by /etc/init.d/isc-dhcp-server)
  2. {%- set node_config = salt['pillar.get']('nodes:' ~ grains.id) %}
  3. # Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
  4. #DHCPDv4_CONF=/etc/dhcp/dhcpd.conf
  5. #DHCPDv6_CONF=/etc/dhcp/dhcpd6.conf
  6. # Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
  7. #DHCPDv4_PID=/var/run/dhcpd.pid
  8. #DHCPDv6_PID=/var/run/dhcpd6.pid
  9. # Additional options to start dhcpd with.
  10. # Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
  11. #OPTIONS=""
  12. # On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
  13. # Separate multiple interfaces with spaces, e.g. "eth0 eth1".
  14. INTERFACESv4="{% for iface in node_config.get('ifaces', {}) if iface.startswith ('br') %}{{ iface }} {% endfor %}"
  15. #INTERFACESv6=""