]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dhcpd/templates/default/dhcpd.conf.erb
dhcpd: add next-server and PCode/TCode per rfc4833
[chef.git] / cookbooks / dhcpd / templates / default / dhcpd.conf.erb
index 7d20b1b9eea5b2e0ef90df4af9dc5dd5ef057e08..d95d55a7e6fe0708299afecd90544804f872ff6b 100644 (file)
@@ -1,6 +1,9 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
 option arch code 93 = unsigned integer 16;
+# ilo5 expects TZ data per rfc4833
+option PCode code 100 = text;
+option TCode code 101 = text;
 
 default-lease-time 600;
 max-lease-time 7200;
@@ -14,7 +17,12 @@ subnet <%= interface[:network] %> netmask <%= interface[:netmask] %> {
   option domain-name "<%= @domain %>";
   option domain-name-servers <%= interface[:gateway] %>;
   option ntp-servers <%= node[:ntp][:servers].first %>;
+
   option time-offset 0;
+  option PCode "UTC";
+  option TCode "Etc/UTC";
+
+  next-server <%= interface[:gateway] %>;
 
   # See https://netboot.xyz/docs/docker/#dhcp-configurations
   if exists user-class and ( option user-class = "iPXE" ) {