bundles/dhcpd: rework metadata
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-04-20 18:17:52 +02:00
parent 3bd851aae5
commit 24362768fb
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 17 additions and 38 deletions

View file

@ -14,5 +14,5 @@
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACESv4="${listen_interfaces}"
INTERFACESv4="${' '.join(sorted(node.metadata.get('dhcpd/subnets', {})))}"
INTERFACESv6=""