diff options
author | Jonas Smedegaard <dr@jones.dk> | 2004-10-06 21:02:12 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2004-10-06 21:02:12 +0000 |
commit | dd572eae7639d05066e3d3f8fcde8988f5dbc7b1 (patch) | |
tree | 90f986bcb5f1cf21556478fe591942bce80ec666 /dhcp3/dhcpd.etherboot-pxe | |
parent | fa78451ebd444f11e98f81df5265e3c7415ef7fa (diff) |
Add somewhat generic dhcpd addon snippets.
Diffstat (limited to 'dhcp3/dhcpd.etherboot-pxe')
-rw-r--r-- | dhcp3/dhcpd.etherboot-pxe | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dhcp3/dhcpd.etherboot-pxe b/dhcp3/dhcpd.etherboot-pxe new file mode 100644 index 0000000..e953208 --- /dev/null +++ b/dhcp3/dhcpd.etherboot-pxe @@ -0,0 +1,29 @@ +# 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; + } +} |