mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-11 05:17:59 +03:00
engine: With --test-first-run, don't try default URI detection
default URI detection gets testing via the 'connect' dialog, this makes it easier to test the fallback when no packages are locally present
This commit is contained in:
parent
08a7eaed4d
commit
4cdae27cb2
@ -233,9 +233,10 @@ class vmmEngine(vmmGObject):
|
||||
except Exception:
|
||||
logging.exception("Error talking to PackageKit")
|
||||
|
||||
tryuri = None
|
||||
if ret:
|
||||
tryuri = "qemu:///system"
|
||||
else:
|
||||
elif not self.config.test_first_run:
|
||||
tryuri = vmmConnect.default_uri()
|
||||
|
||||
if tryuri is None:
|
||||
|
Loading…
Reference in New Issue
Block a user