Advertisement
Guest User

/etc/dnsmasq.d/ltsp-server-dnsmasq.conf

a guest
May 31st, 2012
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.10 KB | None | 0 0
  1. # Configures dnsmasq for PXE client booting.
  2. # All the files in /etc/dnsmasq.d/ override the main dnsmasq configuration in
  3. # /etc/dnsmasq.conf.
  4. # You may modify this file to suit your needs, or create new ones in dnsmasq.d/.
  5.  
  6. # Log lots of extra information about DHCP transactions.
  7. #log-dhcp
  8.  
  9. # IP ranges to hand out.
  10. dhcp-range=192.168.67.20,192.168.67.250,1h
  11.  
  12. # If another DHCP server is present on the network, you may use a proxy range
  13. # instead. This makes dnsmasq provide boot information but not IP leases.
  14. # (needs dnsmasq 2.48+)
  15. #dhcp-range=10.0.2.2,proxy
  16.  
  17. # The rootpath option is used by both NFS and NBD.
  18. dhcp-option=17,/opt/ltsp/i386
  19.  
  20. # Define common netboot types.
  21. dhcp-vendorclass=etherboot,Etherboot
  22. dhcp-vendorclass=pxe,PXEClient
  23. dhcp-vendorclass=ltsp,"Linux ipconfig"
  24.  
  25. # Set the boot filename depending on the client vendor identifier.
  26. # The boot filename is relative to tftp-root.
  27. dhcp-boot=net:pxe,/ltsp/i386/pxelinux.0
  28. dhcp-boot=net:etherboot,/ltsp/i386/nbi.img
  29. dhcp-boot=net:ltsp,/ltsp/i386/lts.conf
  30.  
  31. # Kill multicast.
  32. dhcp-option=vendor:pxe,6,2b
  33.  
  34. # Disable re-use of the DHCP servername and filename fields as extra
  35. # option space. That's to avoid confusing some old or broken DHCP clients.
  36. dhcp-no-override
  37.  
  38. # We don't want a PXE menu since we're using a graphical PXELinux menu.
  39. #pxe-prompt="Press F8 for boot menu", 3
  40.  
  41. # The known types are x86PC, PC98, IA64_EFI, Alpha, Arc_x86,
  42. # Intel_Lean_Client, IA32_EFI, BC_EFI, Xscale_EFI and X86-64_EFI
  43. pxe-service=X86PC, "Boot from network", /ltsp/i386/pxelinux
  44.  
  45. # A boot service type of 0 is special, and will abort the
  46. # net boot procedure and continue booting from local media.
  47. #pxe-service=X86PC, "Boot from local hard disk", 0
  48.  
  49. # Comment the following to disable the TFTP server functionality of dnsmasq.
  50. enable-tftp
  51.  
  52. # The TFTP directory. Sometimes /srv/tftp is used instead.
  53. tftp-root=/var/lib/tftpboot/
  54.  
  55. # Disable the DNS server functionality of dnsmasq by setting port=0
  56. port=0
  57.  
  58. # Don't listen on lo, to prevent conflicts with Ubuntu's local resolver hack (LP: #959037).
  59. #except-interface=lo
  60. #bind-interfaces
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement