-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Generate qubes-guid options based on features #144
Conversation
228fe85
to
17bd6e3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The temporary config should be also removed when not needed anymore. Add a domain-stopped
event handler for that?
qubesadmin/tools/qvm_start_daemon.py
Outdated
@@ -262,14 +365,32 @@ def common_guid_args(self, vm): | |||
if vm.features.check_with_template('rpc-clipboard', False): | |||
guid_cmd.extend(['-Q']) | |||
|
|||
guivm = self.app.domains[self.app.local_name] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be rather vm.guivm
. In practice it is the same value (gui-daemon is started only if vm.guivm is local), but it will be clearer this way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Allow configuring options per VM or globally per GuiVM. The qvm-start-daemon program reads the options from VM features, and generates a configuration file for qubes-guid. Requires QubesOS/qubes-gui-daemon#47 (customizing the configuration file).
Done. |
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/10655#dependencies Failed tests
New failuresCompared to: https://openqa.qubes-os.org/tests/9500#dependencies
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/9500#dependencies
|
Allow configuring options per VM or globally per GuiVM. The
qvm-start-daemon program reads the options from VM features, and
generates a configuration file for qubes-guid.
Requires QubesOS/qubes-gui-daemon#47 (customizing the configuration
file).