19 lines
841 B
Diff
19 lines
841 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-3.3.0/virtinst/install/installer.py
|
|
===================================================================
|
|
--- virt-manager-3.3.0.orig/virtinst/install/installer.py
|
|
+++ virt-manager-3.3.0/virtinst/install/installer.py
|
|
@@ -168,7 +168,8 @@ class Installer(object):
|
|
def _remove_install_cdrom_media(self, guest):
|
|
if not self._install_cdrom_device_added:
|
|
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
|
|
for disk in guest.devices.disk:
|