mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-18 04:14:33 -05:00
fix: bind wireguard configuration directory
This commit is contained in:
parent
05e73f985f
commit
59fc487682
salt/sys-wireguard
9
salt/sys-wireguard/files/server/qubes-bind-dirs.d/50-sys-wireguard.conf
Executable file
9
salt/sys-wireguard/files/server/qubes-bind-dirs.d/50-sys-wireguard.conf
Executable 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
|
@ -27,6 +27,15 @@ include:
|
|||||||
- curl
|
- curl
|
||||||
- man-db
|
- 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":
|
"{{ slsdotpath }}-systemd-service":
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /usr/lib/systemd/system/wg-quick@wireguard.service.d/50_qusal.conf
|
- name: /usr/lib/systemd/system/wg-quick@wireguard.service.d/50_qusal.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user