-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial support for Qubes 4.1 #751
Merged
Merged
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
12e0544
First shot at getting SDW to install on R4.1
eaon 9f6176a
Support DispVMs for sys VMs in Qubes 4.1
0d30617
Separate RPC policies 4.0/4.1
d4760c7
Removes duplicate rpm config from sys-firewall
b58c57f
Unbreak in-place upgrade failure due to missing qvm-template metadata
eloquence fc08acc
Fix requisite module oversight
eaon bb637dd
Update default sys-usb InputMouse policy for tests
eaon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Unbreak in-place upgrade failure due to missing qvm-template metadata
QubesOS/qubes-issues#7436 is expected to fully resolve. Switching to running qvm-template manually resolves the issue in the meantime. Because anon-whonix also calls the Salt state, removing it for now (we run it mainly to ensure that Whonix is up-to-date, which won't be an issue until the next Debian stable release).
- Loading branch information
commit b58c57f22129d40174f18767d8c0120b86d14700
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,12 +6,6 @@ | |
# over time. These scripts should be ported to an RPM package. | ||
## | ||
|
||
include: | ||
# Import the upstream Qubes-maintained anon-whonix settings. | ||
# The anon-whoni config pulls in sys-whonix and sys-firewall, | ||
# as well as ensures the latest versions of Whonix are installed. | ||
- qvm.anon-whonix | ||
|
||
# Imports "sdvars" for environment config | ||
{% from 'sd-default-config.sls' import sdvars with context %} | ||
|
||
|
@@ -82,8 +76,9 @@ dom0-remove-securedrop-workstation-stretch-template: | |
|
||
dom0-install-securedrop-workstation-template: | ||
{% if grains['osrelease'] == '4.1' %} | ||
qvm.template_installed: | ||
- name: securedrop-workstation-buster | ||
cmd.run: | ||
- name: > | ||
qvm-template install securedrop-workstation-buster | ||
{% else %} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: Would it maybe be better to use |
||
pkg.installed: | ||
- pkgs: | ||
|
@@ -129,16 +124,12 @@ dom0-enabled-apparmor-on-whonix-gw-template: | |
- name: whonix-gw-16 | ||
- prefs: | ||
- kernelopts: "nopat apparmor=1 security=apparmor" | ||
- require: | ||
- sls: qvm.anon-whonix | ||
|
||
dom0-enabled-apparmor-on-whonix-ws-template: | ||
qvm.vm: | ||
- name: whonix-ws-16 | ||
- prefs: | ||
- kernelopts: "nopat apparmor=1 security=apparmor" | ||
- require: | ||
- sls: qvm.anon-whonix | ||
|
||
dom0-create-opt-securedrop-directory: | ||
file.directory: | ||
|
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that this entire block will need to be in a conditional, since
pkg.installed
is the required syntax for 4.0, andqvm.template_installted
is required for 4.1There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Going to stop before I get too far into all the 4.0/4.1 compatibility notes since we'll have to figure out how we want to organize that)