diff options
author | root <root@jones.dk> | 2009-08-14 23:37:20 +0200 |
---|---|---|
committer | root <root@jones.dk> | 2009-08-14 23:37:20 +0200 |
commit | 63fd54a1cdf7ab2b9445ae471bb312ea58561789 (patch) | |
tree | ea461e80b138517c961b33f463a54bee618eac62 | |
parent | 68bf32bfa6251465b7e924aae14fcba2b6c75100 (diff) |
Rename dhcpd.pxelinux.d-i → dhcpd.d-i. split off dhcpd.d-i.host and add preseed hint.
-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"; +} |