dhcpd.default 773 B

12345678910111213141516171819
  1. {%- set dhcp_interfaces = salt['pillar.get']("nodes:" ~ grains["id"] ~ ":dhcp:server:ifaces", []) -%}
  2. # Defaults for isc-dhcp-server (sourced by /etc/init.d/isc-dhcp-server) (Salt managed)
  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="{{ dhcp_interfaces|join(" ") }}"
  15. INTERFACESv6=""