bundles/wireguard: support arch linux and other netmasks than /31
This commit is contained in:
parent
05a2e501ce
commit
c7e5002f17
2 changed files with 7 additions and 5 deletions
|
@ -22,9 +22,7 @@ for number, (peer, config) in enumerate(sorted(node.metadata.get('wireguard/peer
|
|||
'psk': config['psk'],
|
||||
'pubkey': config['pubkey'],
|
||||
},
|
||||
'needs': {
|
||||
'pkg_apt:wireguard',
|
||||
},
|
||||
'needs': {'pkg_apt:wireguard'} if node.has_bundle('apt') else set(),
|
||||
'triggers': {
|
||||
'svc_systemd:systemd-networkd:restart',
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue