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):
|
||||
try:
|
||||
installer = virtinst.DistroInstaller(self.conn)
|
||||
installer = virtinst.DistroInstaller(self.conn.get_backend())
|
||||
installer.location = media
|
||||
|
||||
self.detectedDistro = installer.detect_distro(self.guest)
|
||||
|
|
Loading…
Reference in New Issue