-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #938 from freedomofpress/whonix-17
Support Whonix 17
- Loading branch information
Showing
11 changed files
with
56 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,61 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et : | ||
|
||
## | ||
# Install latest Whonix template, configure apparmor on installed templates, | ||
# and ensure sys-whonix and anon-whonix use latest version. | ||
## | ||
|
||
include: | ||
- sd-upgrade-templates | ||
|
||
{% set sd_supported_whonix_version = '17' %} | ||
|
||
whonix-gateway-installed: | ||
qvm.template_installed: | ||
- name: whonix-gateway-{{ sd_supported_whonix_version }} | ||
- fromrepo: qubes-templates-community | ||
|
||
whonix-workstation-installed: | ||
qvm.template_installed: | ||
- name: whonix-workstation-{{ sd_supported_whonix_version }} | ||
- fromrepo: qubes-templates-community | ||
|
||
dom0-enabled-apparmor-on-whonix-gw-template: | ||
qvm.vm: | ||
- name: whonix-gateway-{{ sd_supported_whonix_version }} | ||
- prefs: | ||
- kernelopts: "nopat apparmor=1 security=apparmor" | ||
- require: | ||
- sls: sd-upgrade-templates | ||
- qvm: whonix-gateway-installed | ||
- qvm: whonix-workstation-installed | ||
|
||
dom0-enabled-apparmor-on-whonix-ws-template: | ||
qvm.vm: | ||
- name: whonix-workstation-{{ sd_supported_whonix_version }} | ||
- prefs: | ||
- kernelopts: "nopat apparmor=1 security=apparmor" | ||
- require: | ||
- sls: sd-upgrade-templates | ||
- qvm: whonix-gateway-installed | ||
- qvm: whonix-workstation-installed | ||
|
||
# The Qubes logic is too polite about enforcing template | ||
# settings, using "present" rather than "prefs". Below | ||
# we force the template updates. | ||
sys-whonix-template-config: | ||
qvm.vm: | ||
- name: sys-whonix | ||
- prefs: | ||
- template: whonix-gw-16 | ||
- template: whonix-gateway-{{ sd_supported_whonix_version }} | ||
- require: | ||
- sls: sd-upgrade-templates | ||
- qvm: dom0-enabled-apparmor-on-whonix-gw-template | ||
|
||
anon-whonix-template-config: | ||
qvm.vm: | ||
- name: anon-whonix | ||
- prefs: | ||
- template: whonix-ws-16 | ||
- template: whonix-workstation-{{ sd_supported_whonix_version }} | ||
- require: | ||
- qvm: dom0-enabled-apparmor-on-whonix-ws-template |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,7 +125,7 @@ find /srv/salt -maxdepth 1 -type f -iname '*.top' \ | |
|
||
# Force full run of all Salt states - uncomment in release branch | ||
# mkdir -p /tmp/sdw-migrations | ||
# touch /tmp/sdw-migrations/f38-update | ||
# touch /tmp/sdw-migrations/whonix-17-update | ||
|
||
%changelog | ||
* Thu Nov 23 2023 SecureDrop Team <[email protected]> - 0.9.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters