Mullvad - wireguard

This commit is contained in:
unman 2022-08-07 23:36:02 +00:00
parent 6a0de87396
commit f194056115
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C
4 changed files with 45 additions and 0 deletions

8
mullvad/clone.sls Normal file
View File

@ -0,0 +1,8 @@
mullvad_precursor:
qvm.template_installed:
- name: debian-11-minimal
qvm-clone-id:
qvm.clone:
- name: template-mullvad
- source: debian-11-minimal

8
mullvad/clone.top Normal file
View File

@ -0,0 +1,8 @@
mullvad_precursor:
qvm.template_installed:
- name: debian-11-minimal
qvm-clone-id:
qvm.clone:
- name: template-mullvad
- source: debian-11-minimal

25
mullvad/create.sls Normal file
View File

@ -0,0 +1,25 @@
include:
- mullvad.clone
qvm-present-id:
qvm.present:
- name: MullvadVPN
- class: AppVM
- template: template-mullvad
- label: green
qvm-prefs-id:
qvm.prefs:
- name: MullvadVPN
- memory: 400
- maxmem: 800
- vcpus: 2
- provides-network: true
qvm-features-id:
qvm.features:
- name: MullvadVPN
- disable:
- service.cups
- service.cups-browsed
- service.tinyproxy

4
mullvad/create.top Normal file
View File

@ -0,0 +1,4 @@
base:
dom0:
- match: nodegroup
- mullvad.create