bundles/nfs-server: add avahi config

This commit is contained in:
Franzi 2025-05-06 20:57:41 +02:00
parent 2b0e559f6c
commit ae07976439
Signed by: kunsi
GPG key ID: 12E3D2136B818350
4 changed files with 45 additions and 20 deletions

View file

@ -1,4 +1,4 @@
% for path, shares in sorted(node.metadata['nfs-server']['shares'].items()):
% for path, shares in sorted(node.metadata.get('nfs-server/shares', {}).items()):
% for share_target, share_options in sorted(shares.items()):
% for ip_list in repo.libs.tools.resolve_identifier(repo, share_target).values():
% for ip in sorted(ip_list):