Initiate VM update from dom0 command line

31 views
Skip to first unread message

e...@riseup.net

unread,
Jun 5, 2017, 3:17:02 PM6/5/17
to qubes...@googlegroups.com
VMs by default check for available updates and notify Qubes VM Manager
if there are any. Is there a genereic dom0 terminal command that
corresponds to Qubes VM Manager's "Update VM"?

--
e3b

Chris Laprise

unread,
Jun 5, 2017, 4:23:39 PM6/5/17
to qubes...@googlegroups.com, e...@riseup.net
You can call the VM's update script with:
$ qvm-run -a -u root vmname '/etc/qubes-rpc/qubes.InstallUpdatesGUI'

I also wrote a script that can handle multiple updates, use
non-interactive mode, select by availability and trim templates:

https://github.com/tasket/Qubes-scripts


--

Chris Laprise, tas...@openmailbox.org
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886

e...@riseup.net

unread,
Jun 6, 2017, 7:09:09 AM6/6/17
to Chris Laprise, qubes...@googlegroups.com
On Mon, Jun 05, 2017 at 04:22:48PM -0400, Chris Laprise wrote:
> You can call the VM's update script with:
> $ qvm-run -a -u root vmname '/etc/qubes-rpc/qubes.InstallUpdatesGUI'
>
> I also wrote a script that can handle multiple updates, use non-interactive
> mode, select by availability and trim templates:
>
> https://github.com/tasket/Qubes-scripts
>
>
> --
>
> Chris Laprise, tas...@openmailbox.org
> https://twitter.com/ttaskett
> PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886

Great! Thank you!
Reply all
Reply to author
Forward
0 new messages