How to configure Updates Salt

In Qubes Global Config there is a section “Check for qube updates”, I can disable update checking and then set exceptions that allow some qubes to check for updates. How do I configure that via Salt? I looked in /etc/qubes/policy.d but I couldn’t find any generated policy files after making custom modifications via the GUI.

Also, as it says it won’t apply for newly created qubes, how do I do it manually during the creation of a qube using Salt?

bump

Here’s how to do it from the CLI:

[user@dom0 ~]$ qvm-service --disable <vm> qubes-update-check

If you look at how to set service stuff through salt, that should get you the rest of the way there.

1 Like

Ah, it’s that simple. Thanks!

1 Like