Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Update all templates in Qubes OS 4.0. License is CC-0.
#!/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment