Re: [qubes-users] Updating templates via salt (update.qubes-vm) doesn't work

2021-07-03 Thread unman
On Sat, Jul 03, 2021 at 03:43:31PM +0200, 799 wrote:
> 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
> 

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.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20210703151645.GB8865%40thirdeyesecurity.org.


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

2021-07-03 Thread 799
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

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAJ3yz2vE0dsjwiUm7Zh3ohHRvVxCqpxsCXqvnibt2efUbru-Gw%40mail.gmail.com.