virt-manager/virtinst-keep-install-iso-attached.patch
Charles Arnold 4f703846c7 - Update to virt-manager 1.4.3 (bsc#1027942)
virt-manager-1.4.3.tar.bz2
  * Improve install of debian/ubuntu non-x86 media (Viktor Mihajlovski, Andrew Wong)
  * New virt-install –graphics listen.* (Pavel Hrdina)
  * New virt-install –disk snapshot_policy= (Pavel Hrdina)
  * New virt-install –cpu cache.* (Lin Ma)
  * Several bug fixes
- Dropped the following patch contained in new tarball
  e902fa55-force-binary-mode-with-FTP-servers.patch
  virt-manager-1.4.2.tar.bz2

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=369
2017-09-20 14:28:03 +00:00

19 lines
760 B
Diff

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-1.4.3/virtinst/guest.py
===================================================================
--- virt-manager-1.4.3.orig/virtinst/guest.py
+++ virt-manager-1.4.3/virtinst/guest.py
@@ -805,7 +805,8 @@ class Guest(XMLBuilder):
# install.
if (dev.is_cdrom() and
getattr(dev, "installer_media", False) and
- not self._os_object.is_windows()):
+ not self._os_object.is_windows() and
+ not self.os_variant.startswith(("sles", "sled", "opensuse"))):
dev.path = None
def _set_defaults(self):