initial commit: 1.5.0
[systemrescuecd.git] / overlay-squashfs-x86 / etc / conf.d / pxebootsrv
1 # Copyright 2003-2007 Francois Dupoux - www.sysresccd.org
2 # Distributed under the terms of the GNU General Public License v2
3
4 # Config file for /etc/init.d/pxebootsrv
5 # Have a look at the PXE chapter in the official manual for more details:
6 # http://www.sysresccd.org/Sysresccd-manual-en_PXE_network_booting
7
8 # ------------------------- README ------------------------------------
9 # The pxebootsrv service allows to provide a PXE-boot-server for 
10 # SystemRescueCd out of the box. You just need to edit the following 
11 # options and run "/etc/init.d/pxebootsrv restart", and you can boot 
12 # any computer of your local network with PXE.
13 #
14 # You must configure these options if the current SystemRescueCd system
15 # acts as DHCP-server and TFTP-server and HTTP-server. If you keep this
16 # default behavior you just need to edit these options and start the
17 # service with "/etc/init.d/pxebootsrv restart".
18 # If you don't want the current system to be the DHCP server, you will have
19 # to configure everything by hand and it will not be possible to use
20 # the pxebootsrv service.
21
22 # ------------------------ CONFIGURATION -------------------------------
23 # By default the current systems acts as DHCP and TFTP and HTTP server
24 # If you want another machine of you network to act as one of those
25 # you will have to turn the appropriate option yo "no"
26
27 # Set to "yes" if you want this machine to act as a DHCP server
28 PXEBOOTSRV_DODHCPD="yes"
29 # Set to "yes" if you want this machine to act as a TFTP server
30 PXEBOOTSRV_DOTFTPD="yes"
31 # Set to "yes" if you want this machine to act as an HTTP server
32 PXEBOOTSRV_DOHTTPD="yes"
33
34 # Here is a typical PXE-Boot configuration --> update with your settings
35 PXEBOOTSRV_SUBNET="192.168.1.0"                    # Used only if PXEBOOTSRV_DODHCPD="yes"
36 PXEBOOTSRV_NETMASK="255.255.255.0"                 # Used only if PXEBOOTSRV_DODHCPD="yes"
37 PXEBOOTSRV_DEFROUTE="192.168.1.254"                # Used only if PXEBOOTSRV_DODHCPD="yes"
38 PXEBOOTSRV_DNS="192.168.1.254"                     # Used only if PXEBOOTSRV_DODHCPD="yes"
39 PXEBOOTSRV_DHCPRANGE="192.168.1.100 192.168.1.150" # Used only if PXEBOOTSRV_DODHCPD="yes"
40 PXEBOOTSRV_LOCALIP="192.168.1.5"
41
42 # Keep these values to $PXEBOOTSRV_LOCALIP if the current computer
43 # acts as TFTP server and HTTP server as well as DHCP server
44 PXEBOOTSRV_TFTPSERVER="$PXEBOOTSRV_LOCALIP"        # IP address of the TFTP server if PXEBOOTSRV_DODHCPD="yes"
45 PXEBOOTSRV_HTTPSERVER="http://$PXEBOOTSRV_LOCALIP/sysrcd.dat" # download URL
46