From ea86127b84c2a17efd67d6375eb643ba5c13f495 Mon Sep 17 00:00:00 2001 From: Andrew David Wong Date: Fri, 16 Oct 2020 02:46:46 -0700 Subject: [PATCH] Add information about updating VMs with Salt Marek shard this information in: https://groups.google.com/d/msg/qubes-devel/n14n3Q295rw/-wYH6O44CAAJ --- user/advanced-configuration/salt.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/user/advanced-configuration/salt.md b/user/advanced-configuration/salt.md index dfb890af..e8427443 100644 --- a/user/advanced-configuration/salt.md +++ b/user/advanced-configuration/salt.md @@ -464,6 +464,26 @@ Whonix Gateway TemplateVM Whonix Workstation TemplateVM +#### `update.qubes-dom0` + +Updates dom0 + +#### `update.qubes-vm` + +Updates domUs. Example to update all TemplateVMs: + + sudo qubesctl --skip-dom0 --templates state.sls update.qubes-vm + +Useful options: + + - `--max-concurrency` --- Limits how many templates are updated at the same time. + Adjust to your available RAM. + The default is 4, and the GUI updater sets it to 1. + - `--targets=vm1,vm2,...` --- Limit to specific VMs, instead of all of them. + (Use instead of `--templates` or `--standalones`.) + - `--show-output` --- Show an update summary instead of just OK/FAIL. + +For other options, see `qubesctl --help`. ## The `qubes` Pillar Module @@ -488,6 +508,7 @@ Template name on which a given VM is based (if any). VM which provides network to the given VM + ## Debugging The output for each VM is logged in `/var/log/qubes/mgmt-VM_NAME.log`.