mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
create: Pass correct connection to install for detection
This commit is contained in:
parent
008feeb09a
commit
bd27910b6f
@ -1953,7 +1953,7 @@ class vmmCreate(vmmGObjectUI):
|
|||||||
|
|
||||||
def actually_detect(self, media):
|
def actually_detect(self, media):
|
||||||
try:
|
try:
|
||||||
installer = virtinst.DistroInstaller(self.conn)
|
installer = virtinst.DistroInstaller(self.conn.get_backend())
|
||||||
installer.location = media
|
installer.location = media
|
||||||
|
|
||||||
self.detectedDistro = installer.detect_distro(self.guest)
|
self.detectedDistro = installer.detect_distro(self.guest)
|
||||||
|
Loading…
Reference in New Issue
Block a user