# 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";
# include "/etc/local-COMMON/dhcp3/dhcpd.etherboot-pxe";
#
# (...common options...)
#
# subclass "etherboot-pxe-hosts" 00:01:02:03:04:05;
# subclass "etherboot-pxe-hosts" 00:01:02:03:04:06 { fixed-address 192.168.1.101; another-option "bla bla"; }
# subclass "etherboot-pxe-hosts" 00:01:02:03:04:06 {
# 	fixed-address 192.168.1.101;
# 	another-option "bla bla";
# 	if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
# 		filename "/tftpboot/eepro100.lzpxe";
# 	}
# }
#

if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
	filename "/tftpboot/eepro100.lzpxe"; 
	} else if substring (option vendor-class-identifier, 0, 9) = "Etherboot" {
		filename "/tftpboot/lts/vmlinuz-test.nbi"; 
		option vendor-encapsulated-options 
		3c:09:45:74:68:65:72:62:6f:6f:74:ff;
	}
}