.
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
interface={{ interface }}
|
||||
listen-address= {{ ip }}
|
||||
bind-interfaces
|
||||
server=1.1.1.1
|
||||
domain-needed
|
||||
bogus-priv
|
||||
dhcp-range={{ ip[0:-1] }}50,{{ ip[0:-1] }}150,12h
|
||||
dhcp-option=option:ntp-server,192.168.0.4,{{ ip }}
|
||||
dhcp-option=66,{{ ip }}
|
||||
enable-tftp
|
||||
tftp-root=/srv/tftpboot
|
||||
dhcp-boot=pxelinux/pxelinux.0
|
||||
dhcp-match=set:efi-x86_64,option:client-arch,7
|
||||
dhcp-match=set:efi-x86_64,option:client-arch,9
|
||||
dhcp-match=set:efi-x86,option:client-arch,6
|
||||
dhcp-match=set:bios,option:client-arch,0
|
||||
dhcp-boot=tag:efi-x86_64,bootx64.efi
|
||||
dhcp-boot=tag:efi-x86,syslinux.efi
|
||||
dhcp-boot=tag:bios,pxelinux.0
|
||||
|
12
salt/states/dnsmasq/files/local.cfg.jinja
Normal file
12
salt/states/dnsmasq/files/local.cfg.jinja
Normal file
@@ -0,0 +1,12 @@
|
||||
except-interface={{ pillar['network']['interface']['external'] }}
|
||||
domain-needed
|
||||
bogus-priv
|
||||
enable-tftp
|
||||
tftp-root=/srv/tftpboot
|
||||
dhcp-match=set:efi-x86_64,option:client-arch,7
|
||||
dhcp-match=set:efi-x86_64,option:client-arch,9
|
||||
dhcp-match=set:efi-x86,option:client-arch,6
|
||||
dhcp-match=set:bios,option:client-arch,0
|
||||
dhcp-boot=tag:efi-x86_64,bootx64.efi
|
||||
dhcp-boot=tag:efi-x86,syslinux.efi
|
||||
dhcp-boot=tag:bios,pxelinux.0
|
Reference in New Issue
Block a user