crowbar/crowbar-core

View on GitHub
chef/cookbooks/dhcp/templates/default/dhcpd.conf.erb

Summary

Maintainability
Test Coverage
# File managed by chef

omapi-port 9991;
        key omapi_key {
        algorithm HMAC-MD5;
        secret "<%= %x{cat /etc/dhcp3/omapi.key}.chomp %>";
};
omapi-key omapi_key;
option arch code 93 = unsigned integer 16;
option config-file code 209 = text;
option path-prefix code 210 = text;
<% if not @options.empty? -%>
  <% @options.each do |option| -%>
<%= option %>;
  <% end -%>
<% end -%>
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

# Fix for https://bugzilla.opensuse.org/show_bug.cgi?id=961536
always-reply-rfc1048 true;

include "/etc/dhcp3/groups.d/group_list.conf";
include "/etc/dhcp3/subnets.d/subnet_list.conf";
include "/etc/dhcp3/hosts.d/host_list.conf";