Salt - caching proxy - fix interaction with Whonix.

Correct uninstall action
This commit is contained in:
NAME 2022-08-21 00:12:12 +00:00
parent 3f59aacbad
commit 0165e7610a
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C
2 changed files with 7 additions and 2 deletions

View File

@ -66,10 +66,12 @@ fi
%postun %postun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
sed -i /qubes.Gpg.*target=gpg/d /etc/qubes/policy.d/30-user.policy sed -i /qubes.UpdatesProxy.*target=cacher/d /etc/qubes/policy.d/30-user.policy
fi fi
%changelog %changelog
* Sun Aug 21 2022 unman <unman@thirdeyesecurity.org> - 1.7
- Correct uninstall action
* Thu Jul 28 2022 unman <unman@thirdeyesecurity.org> - 1.5 * Thu Jul 28 2022 unman <unman@thirdeyesecurity.org> - 1.5
- Extended description - Extended description
* Sat May 21 2022 unman <unman@thirdeyesecurity.org> - 1.4 * Sat May 21 2022 unman <unman@thirdeyesecurity.org> - 1.4

View File

@ -6,4 +6,7 @@ qvm-present-id:
/etc/qubes/policy.d/30-user.policy: /etc/qubes/policy.d/30-user.policy:
file.prepend: file.prepend:
- text: "qubes.UpdatesProxy * @type:TemplateVM @default allow target=cacher" - text:
- "qubes.UpdatesProxy * @tag:whonix-updatevm @default allow target=sys-whonix"
- "qubes.UpdatesProxy * @tag:whonix-updatevm @anyvm deny"
- "qubes.UpdatesProxy * @type:TemplateVM @default allow target=cacher"