[patch] debian-manual simplify dhcpd pxe sample conf
the example snippet for pxe use is quite complicated.
belows simplified config works for me and is greatly inspired by
-> http://wiki.debian.net/index.cgi?DebianInstallerBootpTFTP
yourfoobar may guide newbies like me. :-)
--
maks
Index: installer/doc/manual/en/install-methods/tftp/dhcp.xml
===================================================================
--- installer/doc/manual/en/install-methods/tftp/dhcp.xml (revision 24001)
+++ installer/doc/manual/en/install-methods/tftp/dhcp.xml (working copy)
@@ -63,10 +63,11 @@
<informalexample><screen>
-option domain-name "example.com";
+option domain-name "yourdomain.org";
+option domain-name-servers yournameserver.org;
-default-lease-time 6048;
-max-lease-time 604800;
+default-lease-time 600;
+max-lease-time 7200;
allow booting;
allow bootp;
@@ -74,30 +75,17 @@
# The next paragraph needs to be modified to fit your case
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.200 192.168.1.253;
- option subnet-mask 255.255.255.0;
- option broadcast-address 192.168.1.255;
+# tftp server ip address
+ next-server 192.168.1.90;
# the gateway address which can be different
# (access to the internet for instance)
option routers 192.168.1.1;
-# indicate the dns you want to use
- option domain-name-servers 192.168.1.3;
-}
-
-host tftpserver {
-# tftp server ip address
- fixed-address 192.168.1.90;
+ filename "/tftpboot/pxelinux.0";
+ host tftpserver {
# tftp server hardware address
hardware ethernet 01:23:45:67:89:AB;
}
-group {
- next-server 192.168.1.3;
- host tftpclient {
-# tftp client hardware address
- hardware ethernet 00:10:DC:27:6C:15;
- filename "/tftpboot/pxelinux.0";
- }
-}
</screen></informalexample>
Reply to: