ihome.nas: disable ipv6 on avahi to try to mitigate intermittent problems
This commit is contained in:
parent
d27c42d51a
commit
f67de1ea1b
3 changed files with 8 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
[server]
|
||||
host-name=${node.name.split('.')[-1]}
|
||||
use-ipv4=yes
|
||||
use-ipv6=yes
|
||||
use-ipv6=${'yes' if node.metadata.get('avahi-daemon/use-ipv6') else 'no'}
|
||||
allow-interfaces=${','.join(sorted(node.metadata.get('interfaces', {}).keys()))}
|
||||
ratelimit-interval-usec=1000000
|
||||
ratelimit-burst=1000
|
||||
|
@ -14,7 +14,7 @@ disable-publishing=no
|
|||
disable-user-service-publishing=no
|
||||
publish-hinfo=yes
|
||||
publish-workstation=no
|
||||
publish-aaaa-on-ipv4=yes
|
||||
publish-aaaa-on-ipv4=no
|
||||
publish-a-on-ipv6=no
|
||||
|
||||
[reflector]
|
||||
|
|
|
@ -5,4 +5,7 @@ defaults = {
|
|||
'libnss-mdns': {},
|
||||
},
|
||||
},
|
||||
'avahi-daemon': {
|
||||
'use-ipv6': True,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -56,6 +56,9 @@ nodes['home.nas'] = {
|
|||
# systemctl start yate
|
||||
},
|
||||
},
|
||||
'avahi-daemon': {
|
||||
'use-ipv6': False, # because having a dynamic address confuses the network somehow
|
||||
},
|
||||
'backups': {
|
||||
'paths': {
|
||||
'/storage/nas/Audiobooks',
|
||||
|
|
Loading…
Reference in a new issue