mirror of
https://github.com/unman/shaker.git
synced 2025-02-18 13:44:23 -05:00
Mullvad - make VPN settings persistent in sys-mullvad
This commit is contained in:
parent
cadb807e41
commit
97d9f5bb41
@ -1,6 +1,6 @@
|
|||||||
Name: 3isec-qubes-mullvad-vpn
|
Name: 3isec-qubes-mullvad-vpn
|
||||||
Version: 2024.3
|
Version: 2024.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Set up a Mullvad qube and disposable template
|
Summary: Set up a Mullvad qube and disposable template
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -50,13 +50,15 @@ if [ $1 -eq 1 ]; then
|
|||||||
qubesctl --skip-dom0 --targets=sys-mullvad state.apply mullvad.configure
|
qubesctl --skip-dom0 --targets=sys-mullvad state.apply mullvad.configure
|
||||||
elif [ $1 -eq 2 ]; then
|
elif [ $1 -eq 2 ]; then
|
||||||
qubesctl --skip-dom0 --targets=template-mullvad state.apply mullvad.browser
|
qubesctl --skip-dom0 --targets=template-mullvad state.apply mullvad.browser
|
||||||
|
qubesctl --skip-dom0 --targets=template-mullvad state.apply mullvad.browser_client
|
||||||
|
qubesctl --skip-dom0 --targets=sys-mullvad state.apply mullvad.configure
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ $1 -eq 0 ]; then
|
|
||||||
fi
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 20 2024 unman <unman@thirdeyesecurity.org> - 2024.3.2
|
||||||
|
- Make VPN settings persistent in sys-mullvad
|
||||||
* Sat May 18 2024 unman <unman@thirdeyesecurity.org> - 2024.3.1
|
* Sat May 18 2024 unman <unman@thirdeyesecurity.org> - 2024.3.1
|
||||||
- Update to Mullvad VPN 2024.3
|
- Update to Mullvad VPN 2024.3
|
||||||
- Update to include new Mullvad Browser 13.0.15
|
- Update to include new Mullvad Browser 13.0.15
|
||||||
|
17
mullvad/browser_client.sls
Normal file
17
mullvad/browser_client.sls
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
/home/user/Downloads/mullvad_browser-linux-x86_64-13.0.15.tar.xz:
|
||||||
|
file.managed:
|
||||||
|
- source:
|
||||||
|
- salt://mullvad/mullvad-browser-linux-x86_64-13.0.15.tar.xz
|
||||||
|
- user: root
|
||||||
|
- group: root
|
||||||
|
- makedirs: True
|
||||||
|
|
||||||
|
remove_mullvad_browser:
|
||||||
|
file.absent:
|
||||||
|
- name: /home/user/mullvad-browser
|
||||||
|
|
||||||
|
mullvad-browser-linux-x86_64-13.0.15.tar.xz:
|
||||||
|
archive.extracted:
|
||||||
|
- name: /home/user
|
||||||
|
- source: /home/user/Downloads/mullvad_browser-linux-x86_64-13.0.15.tar.xz
|
||||||
|
- user: user
|
@ -24,3 +24,10 @@
|
|||||||
- group: root
|
- group: root
|
||||||
- mode: '755'
|
- mode: '755'
|
||||||
- makedirs: True
|
- makedirs: True
|
||||||
|
|
||||||
|
# Make settings persistent using bind-dirs
|
||||||
|
bind_mullvad_settings:
|
||||||
|
file.append:
|
||||||
|
- name: /rw/config/qubes-bind-dirs.d/50_user.conf
|
||||||
|
- text: "binds+=( '/etc/mullvad-vpn' )"
|
||||||
|
- makedirs: True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user