bundles/avahi-daemon: install more dependencies and limit to interfaces that are configured
This commit is contained in:
parent
fe4cd98612
commit
c455718847
3 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -13,5 +13,6 @@ svc_systemd['avahi-daemon'] = {
|
|||
'needs': {
|
||||
'file:/etc/avahi/avahi-daemon.conf',
|
||||
'pkg_apt:avahi-daemon',
|
||||
'pkg_apt:libnss-mdns',
|
||||
},
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ defaults = {
|
|||
'apt': {
|
||||
'packages': {
|
||||
'avahi-daemon': {},
|
||||
'libnss-mdns': {},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue