diff --git a/salt/states/dnsmasq/files/dnsmasq.conf.jinja b/salt/states/dnsmasq/files/dnsmasq.conf.jinja index b07c435..630efb9 100644 --- a/salt/states/dnsmasq/files/dnsmasq.conf.jinja +++ b/salt/states/dnsmasq/files/dnsmasq.conf.jinja @@ -5,3 +5,7 @@ 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 }} +enable-tftp +tftp-root=/srv/tftpboot +dhcp-boot=pxelinux/pxelinux.0 diff --git a/salt/states/top.sls b/salt/states/top.sls index b265174..993a23e 100644 --- a/salt/states/top.sls +++ b/salt/states/top.sls @@ -3,3 +3,5 @@ base: - hostname - firewalld - chrony + - atftp + - dnsmasq diff --git a/tlumon/tlumon b/tlumon/tlumon index 2da98a0..81aee17 100755 --- a/tlumon/tlumon +++ b/tlumon/tlumon @@ -80,7 +80,7 @@ class Main: "rmt-server-sync.timer", "rmt-server-mirror.timer", "rmt-server-systems-scc-sync.timer", - "atftp", + "atftp.socket", "mariadb" ]