2017-08-25 23:12:42 +02:00
|
|
|
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.
|
|
|
|
|
2019-02-04 19:46:20 +01:00
|
|
|
Index: virt-manager-2.1.0/virtinst/installer.py
|
2017-08-25 23:12:42 +02:00
|
|
|
===================================================================
|
2019-02-04 19:46:20 +01:00
|
|
|
--- virt-manager-2.1.0.orig/virtinst/installer.py
|
|
|
|
+++ virt-manager-2.1.0/virtinst/installer.py
|
|
|
|
@@ -105,7 +105,8 @@ class Installer(object):
|
2018-10-30 23:00:52 +01:00
|
|
|
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
|