fix: bind wireguard configuration directory

This commit is contained in:
Ben Grande 2024-06-28 10:39:44 +02:00
parent 05e73f985f
commit 59fc487682
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#!/bin/bash
# SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
binds+=( '/etc/wireguard' )
# vim: ft=bash

View File

@ -27,6 +27,15 @@ include:
- curl
- man-db
"{{ slsdotpath }}-bind-dirs":
file.managed:
- name: /etc/qubes-bind-dirs.d/50-{{ slsdotpath }}.conf
- source: salt://{{ slsdotpath }}/files/server/qubes-bind-dirs.d/50-{{ slsdotpath }}.conf
- user: root
- group: root
- mode: '0644'
- makedirs: True
"{{ slsdotpath }}-systemd-service":
file.managed:
- name: /usr/lib/systemd/system/wg-quick@wireguard.service.d/50_qusal.conf