bundles/wireguard: fix max interface length
This commit is contained in:
parent
a2ceb8cc3a
commit
fe4d4abc9c
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ def peer_psks_and_iface_names(metadata):
|
|||
|
||||
for peer_name in metadata.get('wireguard/peers', {}):
|
||||
peers[peer_name] = {
|
||||
'iface': sub('[^a-z0-9-_]+', '_', peer_name)[:20],
|
||||
'iface': sub('[^a-z0-9-_]+', '_', peer_name)[:12],
|
||||
}
|
||||
|
||||
if node.name < peer_name:
|
||||
|
|
Loading…
Reference in a new issue