# 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;
-<% node.interfaces(:role => :internal).each do |interface| -%>
+<% node.ipaddresses(:role => :internal, :family => :inet).each do |address| -%>
-subnet <%= interface[:network] %> netmask <%= interface[:netmask] %> {
+subnet <%= address.network %> netmask <%= address.netmask %> {
+ authoritative;
range dynamic-bootp <%= node[:dhcpd][:first_address] %> <%= node[:dhcpd][:last_address] %>;
-# option broadcast-address <%= interface[:broadcast] %>;
- option routers <%= interface[:gateway] %>;
+ option routers <%= address.gateway %>;
option domain-name "<%= @domain %>";
- option domain-name-servers <%= interface[:gateway] %>;
+ option domain-name-servers <%= address.gateway %>;
option ntp-servers <%= node[:ntp][:servers].join(", ") %>;
+
+ option time-offset 0;
+ option PCode "UTC0";
+ option TCode "Etc/UTC";
+
+ next-server <%= address.gateway %>;
+
+ # See https://netboot.xyz/docs/docker/#dhcp-configurations
+ if exists user-class and ( option user-class = "iPXE" ) {
+ filename "http://boot.netboot.xyz/menu.ipxe";
+ } elsif option arch = encode-int ( 16, 16 ) {
+ filename "http://boot.netboot.xyz/ipxe/netboot.xyz.efi";
+ option vendor-class-identifier "HTTPClient";
+ } elsif option arch = 00:07 {
+ filename "netboot.xyz.efi";
+ } else {
+ filename "netboot.xyz.kpxe";
+ }
}
<% end -%>
-host apc1.<%= @domain %> {
- hardware ethernet 00:c0:b7:77:f3:d8;
- server-name "apc1.<%= @domain %>";
- fixed-address apc1.<%= @domain %>;
+host oob1.ams.openstreetmap.org {
+ hardware ethernet ea:e4:8e:c2:5b:19;
+ server-name "oob1.ams.openstreetmap.org";
+ fixed-address 10.0.48.102;
}
-host apc2.<%= @domain %> {
- hardware ethernet 00:c0:b7:52:b7:d2;
- server-name "apc2.<%= @domain %>";
- fixed-address apc2.<%= @domain %>;
+host pdu1.ams.openstreetmap.org {
+ hardware ethernet 00:c0:b7:e3:e8:f2;
+ server-name "pdu1.ams.openstreetmap.org";
+ fixed-address 10.0.48.100;
}
-host apc3.<%= @domain %> {
- hardware ethernet 00:c0:b7:52:b9:1e;
- server-name "apc3.<%= @domain %>";
- fixed-address apc3.<%= @domain %>;
+host pdu2.ams.openstreetmap.org {
+ hardware ethernet 00:c0:b7:e3:1b:9a;
+ server-name "pdu2.ams.openstreetmap.org";
+ fixed-address 10.0.48.101;
}
-host ascalon.oob.openstreetmap.org {
- hardware ethernet 00:19:bb:39:3c:64;
- server-name "ascalon.oob.openstreetmap.org";
- fixed-address ascalon.oob.openstreetmap.org;
+host oob1.dub.openstreetmap.org {
+ hardware ethernet 62:bd:62:a6:05:25;
+ server-name "oob1.dub.openstreetmap.org";
+ fixed-address 10.0.64.102;
}
-host bowser.oob.openstreetmap.org {
- hardware ethernet 00:16:35:c5:dd:9e;
- server-name "bowser.oob.openstreetmap.org";
- fixed-address bowser.oob.openstreetmap.org;
+host pdu1.dub.openstreetmap.org {
+ hardware ethernet 28:29:86:48:f7:f5;
+ server-name "pdu1.dub.openstreetmap.org";
+ fixed-address 10.0.64.100;
}
-host clifford.oob.openstreetmap.org {
- hardware ethernet 1c:c1:de:78:20:d6;
- server-name "clifford.oob.openstreetmap.org";
- fixed-address clifford.oob.openstreetmap.org;
+host pdu2.dub.openstreetmap.org {
+ hardware ethernet 28:29:86:48:f8:64;
+ server-name "pdu2.dub.openstreetmap.org";
+ fixed-address 10.0.64.101;
}
-host draco.oob.openstreetmap.org {
- hardware ethernet 00:1c:c4:7a:da:dc;
- server-name "draco.oob.openstreetmap.org";
- fixed-address draco.oob.openstreetmap.org;
+host culebre.oob.openstreetmap.org {
+ hardware ethernet 3c:ec:ef:2f:29:41;
+ server-name "culebre.oob.openstreetmap.org";
+ fixed-address 10.0.65.9;
}
-host errol.oob.openstreetmap.org {
- hardware ethernet 00:e0:81:c0:8d:01;
- server-name "errol.oob.openstreetmap.org";
- fixed-address errol.oob.openstreetmap.org;
+host dribble.oob.openstreetmap.org {
+ hardware ethernet 80:30:e0:3e:e0:a0;
+ server-name "dribble.oob.openstreetmap.org";
+ fixed-address 10.0.49.4;
}
-host eustace.oob.openstreetmap.org {
- hardware ethernet 1c:c1:de:71:4d:2e;
- server-name "eustace.oob.openstreetmap.org";
- fixed-address eustace.oob.openstreetmap.org;
+host dulcy.oob.openstreetmap.org {
+ hardware ethernet 0c:c4:7a:66:ce:95;
+ server-name "dulcy.oob.openstreetmap.org";
+ fixed-address 10.0.49.9;
+}
+
+host eddie.oob.openstreetmap.org {
+ hardware ethernet 0c:c4:7a:d5:8c:c0;
+ server-name "eddie.oob.openstreetmap.org";
+ fixed-address 10.0.1.10;
}
host faffy.oob.openstreetmap.org {
- hardware ethernet 00:17:a4:37:cc:d0;
+ hardware ethernet 98:f2:b3:21:f6:e2;
server-name "faffy.oob.openstreetmap.org";
- fixed-address faffy.oob.openstreetmap.org;
+ fixed-address 10.0.49.3;
}
-host fiddlestick.oob.openstreetmap.org {
- hardware ethernet 00:17:a4:0f:22:c6;
- server-name "fiddlestick.oob.openstreetmap.org";
- fixed-address fiddlestick.oob.openstreetmap.org;
+host fafnir.oob.openstreetmap.org {
+ hardware ethernet 38:63:bb:39:f0:96;
+ server-name "fafnir.oob.openstreetmap.org";
+ fixed-address 10.0.65.2;
}
-host grindtooth.oob.openstreetmap.org {
- hardware ethernet 00:25:b3:a7:b7:9e;
- server-name "grindtooth.oob.openstreetmap.org";
- fixed-address grindtooth.oob.openstreetmap.org;
+host fume.oob.openstreetmap.org {
+ hardware ethernet 54:80:28:67:5e:31;
+ server-name "fume.oob.openstreetmap.org";
+ fixed-address 10.0.65.16;
+}
+
+host grisu.oob.openstreetmap.org {
+ hardware ethernet 54:80:28:67:61:03;
+ server-name "grisu.oob.openstreetmap.org";
+ fixed-address 10.0.65.17;
}
host horntail.oob.openstreetmap.org {
- hardware ethernet 00:e0:81:46:95:6e;
+ hardware ethernet 3c:ec:ef:82:ac:d2;
server-name "horntail.oob.openstreetmap.org";
- fixed-address horntail.oob.openstreetmap.org;
+ fixed-address 10.0.65.10;
}
host idris.oob.openstreetmap.org {
- hardware ethernet 00:1f:29:68:bd:b6;
+ hardware ethernet 94:57:a5:50:b5:a0;
server-name "idris.oob.openstreetmap.org";
- fixed-address idris.oob.openstreetmap.org;
+ fixed-address 10.0.65.6;
+}
+host karm.oob.openstreetmap.org {
+ hardware ethernet 0c:c4:7a:67:cf:c4;
+ server-name "karm.oob.openstreetmap.org";
+ fixed-address 10.0.49.50;
}
-host noquiklos.oob.openstreetmap.org {
- hardware ethernet 18:a9:05:70:b0:1e;
- server-name "noquiklos.oob.openstreetmap.org";
- fixed-address noquiklos.oob.openstreetmap.org;
+host konqi.oob.openstreetmap.org {
+ hardware ethernet ec:b1:d7:7a:ea:64;
+ server-name "konqi.oob.openstreetmap.org";
+ fixed-address 10.0.65.7;
}
-host norbert.oob.openstreetmap.org {
- hardware ethernet 00:1c:c4:7c:14:f6;
- server-name "norbert.oob.openstreetmap.org";
- fixed-address norbert.oob.openstreetmap.org;
+host lockheed.oob.openstreetmap.org {
+ hardware ethernet f4:03:43:51:5e:d2;
+ server-name "lockheed.oob.openstreetmap.org";
+ fixed-address 10.0.49.16;
+}
+
+host longma.oob.openstreetmap.org {
+ hardware ethernet 3c:ec:ef:2f:6d:4e;
+ server-name "longma.oob.openstreetmap.org";
+ fixed-address 10.0.65.13;
}
-host poldi.oob.openstreetmap.org {
- hardware ethernet 00:e0:81:c5:2b:b7;
- server-name "poldi.oob.openstreetmap.org";
- fixed-address poldi.oob.openstreetmap.org;
+host muirdris.oob.openstreetmap.org {
+ hardware ethernet 80:30:e0:3e:f0:2a;
+ server-name "muirdris.oob.openstreetmap.org";
+ fixed-address 10.0.65.15;
}
-host pummelzacken.oob.openstreetmap.org {
- hardware ethernet 00:25:90:cf:72:73;
- server-name "pummelzacken.oob.openstreetmap.org";
- fixed-address pummelzacken.oob.openstreetmap.org;
+host naga.oob.openstreetmap.org {
+ hardware ethernet 94:57:a5:5f:11:f2;
+ server-name "naga.oob.openstreetmap.org";
+ fixed-address 10.0.65.8;
+}
+
+host norbert.oob.openstreetmap.org {
+ hardware ethernet 3c:ec:ef:82:ac:cf;
+ server-name "norbert.oob.openstreetmap.org";
+ fixed-address 10.0.49.17;
+}
+
+host odin.oob.openstreetmap.org {
+ hardware ethernet ac:1f:6b:c0:59:a3;
+ server-name "odin.oob.openstreetmap.org";
+ fixed-address 10.0.49.15;
}
host ridley.oob.openstreetmap.org {
hardware ethernet d4:85:64:52:2d:d8;
server-name "ridley.oob.openstreetmap.org";
- fixed-address ridley.oob.openstreetmap.org;
+ fixed-address 10.0.1.3;
}
-host sarel.oob.openstreetmap.org {
- hardware ethernet 00:1c:c4:7c:d2:be;
- server-name "sarel.oob.openstreetmap.org";
- fixed-address sarel.oob.openstreetmap.org;
+host snap-01.oob.openstreetmap.org {
+ hardware ethernet 3c:ec:ef:17:a6:72;
+ server-name "snap-01.oob.openstreetmap.org";
+ fixed-address 10.0.49.49;
}
-host smaug.oob.openstreetmap.org {
- hardware ethernet 00:30:48:9d:57:ff;
- server-name "smaug.oob.openstreetmap.org";
- fixed-address smaug.oob.openstreetmap.org;
+host snap-02.oob.openstreetmap.org {
+ hardware ethernet 3c:ec:ef:17:a5:37;
+ server-name "snap-02.oob.openstreetmap.org";
+ fixed-address 10.0.1.4;
+}
+
+host snap-03.oob.openstreetmap.org {
+ hardware ethernet 3c:ec:ef:82:ab:f2;
+ server-name "snap-03.oob.openstreetmap.org";
+ fixed-address 10.0.65.50;
}
-host soup.oob.openstreetmap.org {
- hardware ethernet 00:17:a4:37:ec:88;
- server-name "soup.oob.openstreetmap.org";
- fixed-address soup.oob.openstreetmap.org;
+host smaug.oob.openstreetmap.org {
+ hardware ethernet 80:30:e0:3e:d0:62;
+ server-name "smaug.oob.openstreetmap.org";
+ fixed-address 10.0.65.14;
}
host spike-01.oob.openstreetmap.org {
- hardware ethernet 00:1a:4b:a5:bd:2a;
+ hardware ethernet 3c:a8:2a:11:78:d6;
server-name "spike-01.oob.openstreetmap.org";
- fixed-address spike-01.oob.openstreetmap.org;
+ fixed-address 10.0.65.3;
}
host spike-02.oob.openstreetmap.org {
- hardware ethernet 00:1b:78:04:37:de;
+ hardware ethernet 14:58:d0:5d:74:44;
server-name "spike-02.oob.openstreetmap.org";
- fixed-address spike-02.oob.openstreetmap.org;
+ fixed-address 10.0.65.4;
}
host spike-03.oob.openstreetmap.org {
- hardware ethernet 00:19:bb:39:3c:64;
+ hardware ethernet 38:63:bb:3a:b0:ce;
server-name "spike-03.oob.openstreetmap.org";
- fixed-address spike-03.oob.openstreetmap.org;
+ fixed-address 10.0.65.5;
}
-host tiamat-22.oob.openstreetmap.org {
- hardware ethernet 00:25:90:29:a8:01;
- server-name "tiamat-22.oob.openstreetmap.org";
- fixed-address tiamat-22.oob.openstreetmap.org;
+host spike-06.oob.openstreetmap.org {
+ hardware ethernet 38:63:bb:3a:41:a0;
+ server-name "spike-06.oob.openstreetmap.org";
+ fixed-address 10.0.49.11;
}
-host thorn-01.oob.openstreetmap.org {
- hardware ethernet 00:19:bb:35:87:94;
- server-name "thorn-01.oob.openstreetmap.org";
- fixed-address thorn-01.oob.openstreetmap.org;
+host spike-07.oob.openstreetmap.org {
+ hardware ethernet 14:02:ec:38:e9:52;
+ server-name "spike-07.oob.openstreetmap.org";
+ fixed-address 10.0.49.12;
}
-host thorn-02.oob.openstreetmap.org {
- hardware ethernet 00:19:bb:39:9b:a6;
- server-name "thorn-02.oob.openstreetmap.org";
- fixed-address thorn-02.oob.openstreetmap.org;
+host spike-08.oob.openstreetmap.org {
+ hardware ethernet 38:63:bb:3a:41:94;
+ server-name "spike-08.oob.openstreetmap.org";
+ fixed-address 10.0.49.13;
}
-host thorn-03.oob.openstreetmap.org {
- hardware ethernet 00:19:bb:37:f3:ce;
- server-name "thorn-03.oob.openstreetmap.org";
- fixed-address thorn-03.oob.openstreetmap.org;
+host tabaluga.oob.openstreetmap.org {
+ hardware ethernet 30:e1:71:5a:a4:6a;
+ server-name "tabaluga.oob.openstreetmap.org";
+ fixed-address 10.0.49.14;
}
-host urmel.oob.openstreetmap.org {
- hardware ethernet 1c:c1:de:e7:4d:b2;
- server-name "urmel.oob.openstreetmap.org";
- fixed-address urmel.oob.openstreetmap.org;
+host vhagar.oob.openstreetmap.org {
+ hardware ethernet 80:30:e0:3e:11:a0;
+ server-name "vhagar.oob.openstreetmap.org";
+ fixed-address 10.0.49.5;
}
-host yevaud.oob.openstreetmap.org {
- hardware ethernet 00:e0:81:c0:8d:02;
- server-name "yevaud.oob.openstreetmap.org";
- fixed-address yevaud.oob.openstreetmap.org;
+host ysera.oob.openstreetmap.org {
+ hardware ethernet ac:1f:6b:c1:40:2a;
+ server-name "ysera.oob.openstreetmap.org";
+ fixed-address 10.0.1.15;
}