feat: helper to show mgmt property information

For: https://github.com/ben-grande/qusal/issues/69
This commit is contained in:
Ben Grande 2024-06-24 11:14:31 +02:00
parent 620fa10a69
commit e9801c8535
No known key found for this signature in database
GPG key ID: 00C64E14F51F9E56
5 changed files with 76 additions and 3 deletions

View file

@ -7,6 +7,7 @@ Qusal troubleshooting guidelines.
* [Detect if your issue was already opened](#detect-if-your-issue-was-already-opened)
* [Qrexec client shows Request refused](#qrexec-client-shows-request-refused)
* [Salt wrapper qubesctl command fails](#salt-wrapper-qubesctl-command-fails)
* [Get Salt management information](#get-salt-management-information)
## Detect if your issue was already opened
@ -69,3 +70,16 @@ Ending the Salt call with `-l debug` argument gives the most detailed output
```
sudo qubesctl state.apply pkg.uptodate -l debug
```
## Get Salt management information
Depending on the operating system of the `management_dispvm`, Salt can fail.
Let's gather some information about it.
Get information about the global `management_dispvm` and the same property of
a specific qube. In this example we use `tpl-qubes-builder`, substitute for
the qube being managed:
```sh
sudo qubesctl state.apply dom0.helpers
qvm-mgmt tpl-qubes-builder
```