bundles/avahi-daemon: install more dependencies and limit to interfaces that are configured

This commit is contained in:
Franzi 2024-12-22 20:29:39 +01:00
parent fe4cd98612
commit c455718847
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 3 additions and 0 deletions

View file

@ -2,6 +2,7 @@
host-name=${node.name.split('.')[-1]}
use-ipv4=yes
use-ipv6=yes
allow-interfaces=${','.join(sorted(node.metadata.get('interfaces', {}).keys()))}
ratelimit-interval-usec=1000000
ratelimit-burst=1000

View file

@ -13,5 +13,6 @@ svc_systemd['avahi-daemon'] = {
'needs': {
'file:/etc/avahi/avahi-daemon.conf',
'pkg_apt:avahi-daemon',
'pkg_apt:libnss-mdns',
},
}

View file

@ -2,6 +2,7 @@ defaults = {
'apt': {
'packages': {
'avahi-daemon': {},
'libnss-mdns': {},
},
},
}