Updating templates via salt (update.qubes-vm) doesn't work

20 views
Skip to first unread message

799

unread,
Jul 3, 2021, 9:43:46 AM7/3/21
to qubes-users
Hello,

I am trying to learn more about SALT in Qubes OS. In the past I have written my setup scripts to setup "my qubes" from a fresh installation, now I'd like to use SALT for it.

I have installed a default Qubes on which the sys-vms are based on the fedora-32 template.

If I enter in dom0:

sudo qubesctl --targets fedora-32 update.qubes-vm

... which should update the template ....I get the following error:

'update.qubes-vm' is not available.
DOM0 configuration failed, not working

Any idea what went wrong?

799

unman

unread,
Jul 3, 2021, 11:16:51 AM7/3/21
to qubes-users
By default, qubesctl will act on dom0.
You've referenced a state, but need to apply it.

sudo qubesctl --show-output --skip-dom0 --targets fedora-32 state.apply update.qubes-vm

I have a basic introduction at https://github.com/unman/notes in the
salt folder.
Reply all
Reply to author
Forward
0 new messages