Mercurial > code > home > repos > infra
diff dns.py @ 162:e3212146960b
ditto networking
author | drewp@bigasterisk.com |
---|---|
date | Thu, 16 Mar 2023 17:48:32 -0700 |
parents | 9b5bbaf37dbe |
children | b63ed77141fd |
line wrap: on
line diff
--- a/dns.py Thu Mar 16 17:47:59 2023 -0700 +++ b/dns.py Thu Mar 16 17:48:32 2023 -0700 @@ -32,6 +32,9 @@ dnsmasq_instance('10.5', house_iface='unused', dhcp_range='unused', router='unused') # only works after wireguard is up +elif host.name == 'ditto': + systemd.service(service='dnsmasq', enabled=False, running=False) + elif host.name == 'pipe': systemd.service(service='dnsmasq', enabled=False, running=False) files.directory(path='/opt/dnsmasq')