File virtinst-keep-install-iso-attached.patch of Package virt-manager

Older SLE guests have a two stage installation that need the ISO.
Newer SLE PV guests hang when a cdrom device is attached without
an ISO file.

Index: virt-manager-2.1.0/virtinst/installer.py
===================================================================
--- virt-manager-2.1.0.orig/virtinst/installer.py
+++ virt-manager-2.1.0/virtinst/installer.py
@@ -105,7 +105,8 @@ class Installer(object):
             return
         if self.livecd:
             return
-        if guest.osinfo.is_windows():
+        if (guest.osinfo.is_windows() or
+            guest.osinfo.name.startswith(("sles", "sled", "opensuse"))):
             # Keep media attached for windows which has a multi stage install
             return
         self._install_cdrom_device.path = None
openSUSE Build Service is sponsored by