create: Pass correct connection to install for detection

This commit is contained in:
Cole Robinson 2014-03-19 19:56:19 -04:00
parent 008feeb09a
commit bd27910b6f
1 changed files with 1 additions and 1 deletions

View File

@ -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)