-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Thu, Nov 24, 2016 at 02:44:25AM -0800, Fabrizio Romano Genovese wrote: > Dear Marek, > > I've tried the solution you proposed in that post. I've managed to make that > little script to work (strangely enough, it looks like salt minds about > indenting in the code. I'm mainly used to latex that doesn't care and this > left me a bit surprised. > > I created a file /srv/salt/update-templates.sls and wrote > > uptodate: > pkg.uptodate:  > > into it. Then I created /srv/salt/update-templates.top and wrote > > base: > qubes:type:template: > - match: pillar > - update-templates > > into it. Then I gave ' sudo qubesctl top.enalbe update-templates ' and tested > it with ' sudo qubesctl --all state.highstate ' (these commands don't work > for me if I'm not superuser). unfortunately, this doesn't work for me. There > is some green stuff going on (like qvm.exists and other things that I don't > really understand). Then, it runs through the templates returning errors (it > basically says, as an instance, 'fedora-23: ERROR'). On the app vm it just > skips saying that there is nothing to do (and this is what it is supposed to > do, so at least it recognizes that it has to run only on templates). > > My feeling (that may be wrong, obviously) is that the command pkg.uptodate: >  does not work for god only knows what reason. Any idea?
You can find details in /var/log/qubes/mgmt-fedora-23.log. Or add "--show-output" option to qubesctl to have it on stdout. - -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYNvI/AAoJENuP0xzK19cseHgH/jJi8AxLulTdA2vqvecMQFJi mDu5JLnB29QRDc3mEU59UeK/04Up+Gwp3NYhqMA7/+bSV2oIFYQcDuUGTqlO2Kbn zXaSi0Yj/S9O/yz6vTjY+a7OxCa16cn8gO56jKuNFZudwWtIx2qkhZmD5tEYydGM XUq3e+3Q4P3/ye9PKXCPu9z1q+TGAK3uQgSbAvJLshK8/z38tUuWaSJOsVfd2xL9 pPsChoxJLBJTO9EInhbz2DxQO4nYg3dN9CVc0vUE+d+w4nx84C6/gPlFMCE6LCW0 f6vlO4V6iPDCQgQEet1zFYHawMOmVFxX5kMdmw7IVyu9OzgeexM5XK3Q8HCN+tw= =h+Pw -----END PGP SIGNATURE----- -- 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 post to this group, send email to firstname.lastname@example.org. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20161124135926.GV1145%40mail-itl. For more options, visit https://groups.google.com/d/optout.