diff options
-rw-r--r-- | dhcp3/dhcpd.d-i (renamed from dhcp3/dhcpd.pxelinux.d-i) | 8 | ||||
-rw-r--r-- | dhcp3/dhcpd.d-i.host | 13 |
2 files changed, 14 insertions, 7 deletions
diff --git a/dhcp3/dhcpd.pxelinux.d-i b/dhcp3/dhcpd.d-i index 6c29580..5e2bb9e 100644 --- a/dhcp3/dhcpd.pxelinux.d-i +++ b/dhcp3/dhcpd.d-i @@ -1,10 +1,4 @@ -# tftp server (if different from DHCP server) -# (maybe only one is needed - forgot which - the other being for NFS?) -#server-identifier 192.168.1.2; -#next-server 192.168.1.2; - -# Default netboot filename for (bootp, and other non-PXE clients) -filename "enter-your-default-di-netboot-imagename-here" +# (to be loaded _after_ dhcpd.d-i.host to override defaults class "pxeclient" { match if substring (option vendor-class-identifier, 0, 9) = "PXEClient"; diff --git a/dhcp3/dhcpd.d-i.host b/dhcp3/dhcpd.d-i.host new file mode 100644 index 0000000..5b394c1 --- /dev/null +++ b/dhcp3/dhcpd.d-i.host @@ -0,0 +1,13 @@ +# tftp server (if different from DHCP server) +# (maybe only one is needed - forgot which - the other being for NFS?) +#server-identifier 192.168.1.2; +#next-server 192.168.1.2; + +# Default netboot filename for (bootp, and other non-PXE clients) +filename "enter-your-default-di-netboot-imagename-here" + +# Preseed debian-installer from http://boot.<domain>/d-i/<suite>/./preseed.cfg +# (more info at http://hands.com/d-i/ ) +if substring (option vendor-class-identifier, 0, 3) = "d-i" { + filename "boot"; +} |