blob: 1f3ef629e47d9806f728340211b9d8bca40c481b (
plain)
- # This ISC dhcpd 3.x config snippet is inspired by initrd code in
- # contrib area of etherboot source (dhcpd.conf.etherboot.include).
- # Usage:
- #
- # include "/etc/local-COMMON/dhcp3/dhcpd.etherboot";
- #
- # # (...common options...)
- #
- # # Accepted hosts (syntax is "1:" + MAC address)
- # subclass "etherboot-hosts" 00:01:02:03:04:05;
- # subclass "etherboot-hosts" 00:01:02:03:04:06 { fixed-address 192.168.1.101; another-option "bla bla"; }
- #
- # image-n syntax: "label:server:gateway:filename:passwd:flags:cmdline"
- option space etherboot;
- option etherboot.extensions-path code 18 = string;
- option etherboot.magic code 128 = string;
- option etherboot.kernel-cmdline code 129 = text;
- option etherboot.netdevice code 130 = text; # Root NFS device for multihomed diskless clients (example: "eth1")
- option etherboot.menu-opts code 160 = text;
- option etherboot.nic-dev-id code 175 = string;
- option etherboot.menu-selection code 176 = unsigned integer 8;
- option etherboot.motd-1 code 184 = text;
- option etherboot.motd-2 code 185 = text;
- option etherboot.motd-3 code 186 = text;
- option etherboot.motd-4 code 187 = text;
- option etherboot.motd-5 code 188 = text;
- option etherboot.motd-6 code 189 = text;
- option etherboot.motd-7 code 190 = text;
- option etherboot.motd-8 code 191 = text;
- option etherboot.image-1 code 192 = text;
- option etherboot.image-2 code 193 = text;
- option etherboot.image-3 code 194 = text;
- option etherboot.image-4 code 195 = text;
- option etherboot.image-5 code 196 = text;
- option etherboot.image-6 code 197 = text;
- option etherboot.image-7 code 198 = text;
- option etherboot.image-8 code 199 = text;
- option etherboot.image-9 code 200 = text;
- option etherboot.image-10 code 201 = text;
- option etherboot.image-11 code 202 = text;
- option etherboot.image-12 code 203 = text;
- option etherboot.image-13 code 204 = text;
- option etherboot.image-14 code 205 = text;
- option etherboot.image-15 code 206 = text;
- option etherboot.image-16 code 207 = text;
- option etherboot.kmod code 254 = string;
- #class "etherboot-hosts" {
- # match pick-first-value (option dhcp-client-identifier, hardware);
- #}
- # Etherboot sends a string to identify the NIC in etherboot.nic-dev-id.
- # For PCI NICs, this string is of the form "PCI:vvvv:dddd" where vvvv is the
- # vendor identifier and dddd the device identifier, in lower-case ASCII hex.
- #
- # Normally you simply include the file generated by mknbi-set.
- #
- # Here's a sample output of that tool:
- #
- #if substring ( option vendor-class-identifier, 0, 9 ) = "Etherboot" {
- # if exists etherboot.nic-dev-id {
- # # Legacy nic-dev-id mechanism: there are some DLink DFE538 cards in circulation that
- # # predated the change to the new nic-dev-id binary structure
- # if option etherboot.nic-dev-id = "PCI:1186:1300" { option etherboot.kmod "8139too"; }
- #
- # # Generated from mknbi-set.conf
- #
- # }
- #}
|