bundles/wireguard: fix permissions for wireguard netdev files
This commit is contained in:
parent
bd5f65d7a4
commit
9730a2be13
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ for number, (peer, config) in enumerate(sorted(node.metadata.get('wireguard/peer
|
|||
files[f'/etc/systemd/network/wg{number}.netdev'] = {
|
||||
'content_type': 'mako',
|
||||
'source': 'wg.netdev',
|
||||
'owner': 'systemd-network',
|
||||
'mode': '0600',
|
||||
'context': {
|
||||
'endpoint': config.get('endpoint'),
|
||||
'number': number,
|
||||
|
|
Loading…
Reference in a new issue