Add information about updating VMs with Salt

Marek shard this information in:
https://groups.google.com/d/msg/qubes-devel/n14n3Q295rw/-wYH6O44CAAJ
This commit is contained in:
Andrew David Wong 2020-10-16 02:46:46 -07:00
parent e61ca7b413
commit ea86127b84
No known key found for this signature in database
GPG Key ID: 8CE137352A019A17

View File

@ -464,6 +464,26 @@ Whonix Gateway TemplateVM
Whonix Workstation 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 ## 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 VM which provides network to the given VM
## Debugging ## Debugging
The output for each VM is logged in `/var/log/qubes/mgmt-VM_NAME.log`. The output for each VM is logged in `/var/log/qubes/mgmt-VM_NAME.log`.