From 0909197b1aef0a01113ccc4b7d2cd5dded836563 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Thu, 23 Sep 2021 12:28:25 +0200 Subject: [PATCH] . --- salt/states/dnsmasq/files/dnsmasq.conf.jinja | 4 ++++ salt/states/top.sls | 2 ++ tlumon/tlumon | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) 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" ]