Thanks everyone, that code does exactly what I wanted. Calling bash /etc/qubes-rpc/qubes.InstallUpdatesGUI with qvm-run for a given VM produces the same result of uptating the VM via qubes-manager.
Thanks for your Time, Fab T On Fri, Feb 17, 2017 at 4:18 AM, Jean-Philippe Ouellet <j...@vt.edu> wrote: > On Thu, Feb 16, 2017 at 10:51 PM, Fabrizio Romano Genovese > <themasterofdisast...@gmail.com> wrote: > > Well, I have considered it, yes, and it's true that launching many > terminals > > can be resource intensive. But it's also faster: Using & I can launch > all > > the terminals at the same time, while cycling as in the script you > linked I > > should wait for the previous update process to finish. > > Not if you just background the process, like: > > for dom in templateA templateB ...; do > qvm-run -p -u root some-template 'dnf update' & > done > > Anyway... the code you're looking for is here: > https://github.com/QubesOS/qubes-core-agent-linux/blob/ > master/qubes-rpc/qubes.InstallUpdatesGUI > -- 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/CAAZqLaPKZ0T5dgFhgSJo-kR2zwq1BUtY3S5YNmH0nCBcb6VC-A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.