-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qvm-prefs -D SOMEVM template
fails with confusing error
#8928
Comments
Template property is not allowed to have "default" value (as in - "D" flag in qvm-prefs, meaning automatically following whatever the default is). Theoretically, |
I'd improve the error message, otherwise it does get inconsistent. (and, if possible, I would put in the error message something like "You cannot set the template value to |
I submitted a PR to propose a change to error message which hopefully could be a good compromise. Review priority: Low |
resolves: QubesOS/qubes-issues#8928 (cherry picked from commit 611b343)
How to file a helpful issue
Qubes OS release
R4.2
Brief summary
qvm-prefs -D SOMEVM template
fails with the confusing error messageCannot unset template
. This does not make sense because a default template is set, meaning that I am asking Qubes OS to set the template to whatever the default TemplateVM is. Forqvm-refs SOMEVM template ''
the error message would be correct.Steps to reproduce
See above.
Expected behavior
Operation should succeed, or the error should explain why the operation is not allowed.
Actual behavior
Confusing error message.
The text was updated successfully, but these errors were encountered: