-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add state to route all updates through Whonix
As discussed in QubesOS/qubes-issues#2604, lets have a state for switching just updates, not all the traffic. Fixes QubesOS/qubes-issues#2604
- Loading branch information
Showing
4 changed files
with
32 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et : | ||
|
||
## | ||
# qvm.updates-via-whonix | ||
# =============== | ||
# | ||
# Setup UpdatesProxy to always use sys-whonix. | ||
# | ||
# Execute: | ||
# qubesctl state.sls qvm.updates-via-whonix dom0 | ||
## | ||
|
||
|
||
default-update-policy-whonix: | ||
file.prepend: | ||
- name: /etc/qubes-rpc/policy/qubes.UpdatesProxy | ||
- text: | ||
- $type:TemplateVM $default allow,target=sys-whonix |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et : | ||
|
||
base: | ||
dom0: | ||
- match: nodegroup | ||
- qvm.updates-via-whonix |
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