Add a hardwired dhcpd.conf for the installer's netboot server support.
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 8 Apr 2005 03:25:18 +0000 (03:25 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 8 Apr 2005 03:25:18 +0000 (03:25 +0000)
nrelease/installer/etc/dhcpd.conf [new file with mode: 0644]

diff --git a/nrelease/installer/etc/dhcpd.conf b/nrelease/installer/etc/dhcpd.conf
new file mode 100644 (file)
index 0000000..56fa6ea
--- /dev/null
@@ -0,0 +1,31 @@
+# $DragonFly: src/nrelease/installer/etc/dhcpd.conf,v 1.1 2005/04/08 03:25:18 dillon Exp $
+#
+
+ddns-update-style none;
+
+class "pxeboot-class" {
+    match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
+}
+
+class "etherboot-class" {
+    match if substring (option vendor-class-identifier, 0, 9) = "Etherboot";
+}
+
+class "dragonfly-class" {
+    match if substring (option vendor-class-identifier, 0, 9) = "DragonFly";
+}
+
+subnet 10.1.0.0 netmask 255.255.0.0 {
+    pool {
+       allow members of "pxeboot-class";
+       allow members of "etherboot-class";
+       allow members of "dragonfly-class";
+       range 10.1.0.128 10.1.0.254;
+       option subnet-mask 255.255.255.0;
+       option broadcast-address 10.1.0.255;
+       filename "pxeboot";
+       option root-path "10.1.0.1:/";
+       next-server 10.1.0.1;
+    }
+}
+