Skip to content

Commit

Permalink
First naive approach to updating to whonix 14
Browse files Browse the repository at this point in the history
  • Loading branch information
viq committed May 3, 2018
1 parent d237ac1 commit 857ee77
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions qvm/anon-whonix.sls
Expand Up @@ -26,7 +26,7 @@ include:
{% load_yaml as defaults -%}
name: anon-whonix
present:
- template: whonix-ws
- template: whonix-ws-14
- label: red
prefs:
- netvm: sys-whonix
Expand All @@ -35,7 +35,7 @@ tags:
- add:
- anon-vm
require:
- pkg: template-whonix-ws
- pkg: template-whonix-ws-14
- qvm: sys-whonix
- qvm: whonix-ws-dvm
{%- endload %}
Expand Down
4 changes: 2 additions & 2 deletions qvm/sys-whonix.sls
Expand Up @@ -25,15 +25,15 @@ include:
{% load_yaml as defaults -%}
name: sys-whonix
present:
- template: whonix-gw
- template: whonix-gw-14
- label: black
- mem: 500
prefs:
- netvm: sys-firewall
- provides-network: true
- autostart: true
require:
- pkg: template-whonix-gw
- pkg: template-whonix-gw-14
- qvm: sys-firewall
{%- endload %}

Expand Down
8 changes: 4 additions & 4 deletions qvm/template-whonix-gw.sls
Expand Up @@ -11,20 +11,20 @@
# qubesctl state.sls qvm.template-whonix-gw dom0
##

template-whonix-gw:
template-whonix-gw-14:
pkg.installed:
- name: qubes-template-whonix-gw
- name: qubes-template-whonix-gw-14
- fromrepo: qubes-templates-community

whonix-gw-tag:
qvm.vm:
- name: whonix-gw
- name: whonix-gw-14
- tags:
- present:
- whonix-updatevm
- features:
- enable:
- whonix-gw
- whonix-gw-14

whonix-gw-update-policy:
file.prepend:
Expand Down
8 changes: 4 additions & 4 deletions qvm/template-whonix-ws.sls
Expand Up @@ -11,20 +11,20 @@
# qubesctl state.sls qvm.template-whonix-ws dom0
##

template-whonix-ws:
template-whonix-ws-14:
pkg.installed:
- name: qubes-template-whonix-ws
- name: qubes-template-whonix-ws-14
- fromrepo: qubes-templates-community

whonix-ws-tag:
qvm.vm:
- name: whonix-ws
- name: whonix-ws-14
- tags:
- present:
- whonix-updatevm
- features:
- enable:
- whonix-ws
- whonix-ws-14

whonix-ws-update-policy:
file.prepend:
Expand Down
4 changes: 2 additions & 2 deletions qvm/whonix-ws-dvm.sls
Expand Up @@ -27,7 +27,7 @@ include:
{% load_yaml as defaults -%}
name: whonix-ws-dvm
present:
- template: whonix-ws
- template: whonix-ws-14
- label: red
prefs:
- netvm: sys-whonix
Expand All @@ -40,7 +40,7 @@ features:
- enable:
- appmenus-dispvm
require:
- pkg: template-whonix-ws
- pkg: template-whonix-ws-14
- qvm: sys-whonix
{%- endload %}

Expand Down

0 comments on commit 857ee77

Please sign in to comment.