Update all domains for Qubes OS 4.0

68 views
Skip to first unread message

Jimmy Axenhus

unread,
Nov 3, 2017, 5:51:29 PM11/3/17
to qubes...@googlegroups.com
Hi!

A while ago I wrote a small Python-script to update all VMs at once.
I've now upgraded it for Qubes OS 4.0.
At the same time I decided to rewrite it in shell to avoid relying on
the Python API. Unless something drastically changes I expect this to
also work for future Qubes OS releases.

URL:

https://gist.github.com/JimmyAx/818bcf11a14e85531516ef999c8c5765

Embedded:

#!/bin/sh

for domain in $(qvm-ls --fields NAME,CLASS | \
    awk '($2 == "TemplateVM" || $2 == "StandaloneVM") {print $1}'); do
    qvm-run --service $domain qubes.InstallUpdatesGUI
done

sudo qubes-dom0-update

Reply all
Reply to author
Forward
0 new messages