Intial commit
This commit is contained in:
32
dnsmasq.conf
Normal file
32
dnsmasq.conf
Normal file
@@ -0,0 +1,32 @@
|
||||
port=0
|
||||
|
||||
log-dhcp
|
||||
dhcp-range=192.168.1.0,proxy
|
||||
|
||||
#Set WDS tag when selected from iPXE menu
|
||||
dhcp-userclass=set:wds,wds
|
||||
#Set ENH tag when iPXE requests boot script
|
||||
dhcp-userclass=set:ENH,iPXE
|
||||
|
||||
#Load iPXE script when loaded
|
||||
pxe-service=tag:ENH,tag:!wds,BC_EFI, Load iPXE, /iPXE/boot.ipxe
|
||||
pxe-service=tag:ENH,tag:!wds,X86-64_EFI, Load iPXE, /iPXE/boot.ipxe
|
||||
pxe-service=tag:ENH,tag:!wds,X86PC, Load iPXE, /iPXE/boot.ipxe
|
||||
|
||||
#Boot WDS when selected from ipxe
|
||||
pxe-service=tag:!ENH,tag:wds,BC_EFI, "Load WDS", boot\x64\wdsmgfw.efi, 192.168.1.101
|
||||
pxe-service=tag:!ENH,tag:wds,X86-64_EFI, "Load WDS", boot\x64\wdsmgfw.efi, 192.168.1.101
|
||||
pxe-service=tag:!ENH,tag:wds,X86PC, "Load WDS", boot\x86\wdsnbp.com, 192.168.1.101
|
||||
|
||||
#Load ipxe if not loaded
|
||||
pxe-service=tag:!ENH,tag:!wds,X86PC, "Load iPXE", /iPXE/undionly.kpxe
|
||||
pxe-service=tag:!ENH,tag:!wds,BC_EFI, "Load iPXE", /iPXE/ipxe.efi
|
||||
pxe-service=tag:!ENH,tag:!wds,X86-64_EFI, "Load iPXE", /iPXE/ipxe.efi
|
||||
|
||||
#Enable tftp and set its root folder
|
||||
enable-tftp
|
||||
tftp-root=/opt/LDS/tftp
|
||||
|
||||
#Use for telling Raspberry Pi's they can boot form this server (can be disabled if not using Pi's since is causes a delayed start for normal PXE)
|
||||
pxe-prompt="Booting PXE Client", 1
|
||||
pxe-service=0,"Raspberry Pi Boot"
|
||||
Reference in New Issue
Block a user