bundles/nfs-server: support using node names for shares
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-06-03 07:45:56 +02:00
parent f84e9c533f
commit faf27a3940
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 12 additions and 6 deletions

View file

@ -17,7 +17,7 @@ def iptables(metadata):
for share_items in metadata.get('nfs-server/shares', {}).values():
for share_target in share_items:
ips.add(share_target.split('(', 2)[0])
ips.add(share_target)
return {
'iptables': {