mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-24 21:34:47 +03:00
virt-manager: Allow mixing --connect and --test-first-run
To run with just the passed connection, but skip the first run logic. Useful for UI testing
This commit is contained in:
parent
60d6161efc
commit
d66b691035
@ -171,7 +171,7 @@ class vmmEngine(vmmGObject):
|
||||
|
||||
def add_default_conn(self, manager):
|
||||
# Only add default if no connections are currently known
|
||||
if self.config.get_conn_uris():
|
||||
if self.config.get_conn_uris() or self.uri_at_startup:
|
||||
return
|
||||
|
||||
self.timeout_add(1000, self._add_default_conn, manager)
|
||||
|
Loading…
Reference in New Issue
Block a user