NoPaste

dnsmasq - UEFI & Legacy boot

von MKmaddin

SNIPPET_TEXT:
  1. ##dnsmasq configuration to enable proxy dhcp
  2. dhcp-range=192.168.1.0,proxy
  3.  
  4. ##dnsmasq configuration to make this server TFTP / PXE server
  5. log-dhcp
  6. dhcp-option-force=66,192.168.1.250
  7. pxe-prompt="PXE from meinserver - press esc to abort",0
  8.  
  9. dhcp-match=set:bios64,60,PXEClient:Arch:00000
  10. dhcp-option-force=tag:bios64,option:root-path,"meinserver:/srv/fai/nfsroot"
  11. pxe-service=tag:bios64,X86PC,"PXE Boot - bios64",fai/lpxelinux.0,192.168.1.250
  12. dhcp-boot=tag:bios64,fai/lpxelinux.0,meinserver,192.168.1.250
  13.  
  14. dhcp-match=set:efibc,60,PXEClient:Arch:00007
  15. dhcp-option-force=tag:efibc,option:root-path,"meinserver:/srv/fai/nfsroot"
  16. pxe-service=tag:efibc,X86-64_EFI,"PXE Boot - efibc",fai/bootx64.efi,192.168.1.250
  17. dhcp-boot=tag:efibc,fai/bootx64.efi,meinserver,192.168.1.250
  18.  
  19. dhcp-match=set:efi64,60,PXEClient:Arch:00009
  20. dhcp-option-force=tag:efi64,option:root-path,"meinserver:/srv/fai/nfsroot"
  21. pxe-service=tag:efi64,X86-64_EFI,"PXE Boot - efi64",fai/bootx64.efi,192.168.1.250
  22. dhcp-boot=tag:efi64,fai/bootx64.efi,meinserver,192.168.1.250
  23.  
  24. dhcp-match=set:efi32,60,PXEClient:Arch:00006
  25. dhcp-option-force=tag:efi32,option:root-path,"meinserver:/srv/fai/nfsroot-i386"
  26. pxe-service=tag:efi32,X86-64_EFI,"PXE Boot - efi32",fai-i386/bootia32.efi,192.168.1.250
  27. dhcp-boot=tag:efi32,fai-i386/bootia32.efi,meinserver,192.168.1.250

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN