dhcp-server.conf 368 B

12345678910111213141516171819
  1. #
  2. # Check DHCP server pools (Salt managed)
  3. #
  4. #
  5. # dhcp_pool
  6. apply Service "dhcp_pool" {
  7. import "generic-service"
  8. check_command = "dhcp_pool"
  9. check_interval = 10m
  10. if (host.name != NodeName) {
  11. command_endpoint = host.name
  12. }
  13. assign where host.address && host.vars.os == "Linux" && ("batman_gw" in host.vars.roles || "dhcp-server" in host.vars.roles)
  14. }