2017-08-25 00:03:36 +02:00
|
|
|
References: bsc#1054986
|
|
|
|
|
2019-07-29 21:36:33 +02:00
|
|
|
Index: virt-manager-2.2.1/virtinst/install/urldetect.py
|
2017-08-25 00:03:36 +02:00
|
|
|
===================================================================
|
2019-07-29 21:36:33 +02:00
|
|
|
--- virt-manager-2.2.1.orig/virtinst/install/urldetect.py
|
|
|
|
+++ virt-manager-2.2.1/virtinst/install/urldetect.py
|
- bsc#1140211 - VUL-1: CVE-2019-10183: virt-manager: unattended
option leaks password via command line argument
58c68764-unattended-Read-the-passwords-from-a-file.patch
51d28f04-unattended-Dont-log-user-admin-passwords.patch
- Upstream bug fix (bsc#1027942)
5312a961-virt-install-Revive-wait-0-as-alias-for-noautoconsole.patch
- Update to virt-manager 2.2.0 (fate#326786)
virt-manager-2.2.0.tar.bz2
* libvirt XML viewing and editing UI for new and existing domain, pools, volumes, networks
* virt-install: libosinfo –unattended support (Fabiano Fidêncio, Cole Robinson)
* Improve CPU model security defaults (Pavel Hrdina)
* virt-install: new –install option. Ex: virt-install –install fedora29
* virt-install: new –install kernel=,initrd=
* virt-install: –disk, –memory, –name defaults from libosinfo (Fabiano Fidêncio, Cole Robinson)
* virt-install: add device suboption aliases which consistently match libvirt XML naming
* virt-xml: new –start, –no-define options (Marc Hartmayer)
* virt-install: Add driver_queues argument to –controller (Vasudeva Kamath)
* RISC-V support (Andrea Bolognani)
* Device default improvements for non-x86 KVM (Andrea Bolognani)
* Redesigned ‘New Network’ wizard
* libguestfs inspection improvements (Pino Toscano)
* virt-install: Add support for xenbus controller (Jim Fehlig)
* cli: Add –disk wwn=,rawio= (Athina Plaskasoviti)
* cli: Add –memballoon autodeflate=,stats.period= (Athina Plaskasoviti)
* cli: Add –iothreads (Athina Plaskasoviti)
* cli: Add –numatune memory.placement (Athina Plaskasoviti)
* cli: Add –launchSecurity option (Erik Skultety)
* cli: Fill in –memorybacking options
* cli: –smartcard: support database= and certificate[0-9]*=
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=476
2019-07-03 20:19:42 +02:00
|
|
|
@@ -586,6 +586,10 @@ class _SuseDistro(_RHELDistro):
|
2018-10-31 20:34:02 +01:00
|
|
|
if re.search("openSUSE Tumbleweed", self.cache.treeinfo_name):
|
|
|
|
return "opensusetumbleweed"
|
|
|
|
|
|
|
|
+ sp_version = False
|
|
|
|
+ if ' SP' in self.cache.treeinfo_version:
|
|
|
|
+ sp_version = True
|
|
|
|
+ self.cache.treeinfo_version = self.cache.treeinfo_version.replace(' SP', '.')
|
|
|
|
version, update = self.cache.split_version()
|
|
|
|
base = self._variant_prefix + str(version)
|
|
|
|
while update >= 0:
|
- bsc#1140211 - VUL-1: CVE-2019-10183: virt-manager: unattended
option leaks password via command line argument
58c68764-unattended-Read-the-passwords-from-a-file.patch
51d28f04-unattended-Dont-log-user-admin-passwords.patch
- Upstream bug fix (bsc#1027942)
5312a961-virt-install-Revive-wait-0-as-alias-for-noautoconsole.patch
- Update to virt-manager 2.2.0 (fate#326786)
virt-manager-2.2.0.tar.bz2
* libvirt XML viewing and editing UI for new and existing domain, pools, volumes, networks
* virt-install: libosinfo –unattended support (Fabiano Fidêncio, Cole Robinson)
* Improve CPU model security defaults (Pavel Hrdina)
* virt-install: new –install option. Ex: virt-install –install fedora29
* virt-install: new –install kernel=,initrd=
* virt-install: –disk, –memory, –name defaults from libosinfo (Fabiano Fidêncio, Cole Robinson)
* virt-install: add device suboption aliases which consistently match libvirt XML naming
* virt-xml: new –start, –no-define options (Marc Hartmayer)
* virt-install: Add driver_queues argument to –controller (Vasudeva Kamath)
* RISC-V support (Andrea Bolognani)
* Device default improvements for non-x86 KVM (Andrea Bolognani)
* Redesigned ‘New Network’ wizard
* libguestfs inspection improvements (Pino Toscano)
* virt-install: Add support for xenbus controller (Jim Fehlig)
* cli: Add –disk wwn=,rawio= (Athina Plaskasoviti)
* cli: Add –memballoon autodeflate=,stats.period= (Athina Plaskasoviti)
* cli: Add –iothreads (Athina Plaskasoviti)
* cli: Add –numatune memory.placement (Athina Plaskasoviti)
* cli: Add –launchSecurity option (Erik Skultety)
* cli: Fill in –memorybacking options
* cli: –smartcard: support database= and certificate[0-9]*=
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=476
2019-07-03 20:19:42 +02:00
|
|
|
@@ -593,7 +597,10 @@ class _SuseDistro(_RHELDistro):
|
2018-10-31 20:34:02 +01:00
|
|
|
# SLE doesn't use '.0' for initial releases in
|
|
|
|
# osinfo-db (sles11, sles12, etc)
|
|
|
|
if update > 0 or not base.startswith('sle'):
|
|
|
|
- tryvar += ".%s" % update
|
|
|
|
+ if sp_version:
|
|
|
|
+ tryvar += "sp%s" % update
|
|
|
|
+ else:
|
|
|
|
+ tryvar += ".%s" % update
|
|
|
|
if OSDB.lookup_os(tryvar):
|
|
|
|
return tryvar
|
|
|
|
update -= 1
|
- bsc#1140211 - VUL-1: CVE-2019-10183: virt-manager: unattended
option leaks password via command line argument
58c68764-unattended-Read-the-passwords-from-a-file.patch
51d28f04-unattended-Dont-log-user-admin-passwords.patch
- Upstream bug fix (bsc#1027942)
5312a961-virt-install-Revive-wait-0-as-alias-for-noautoconsole.patch
- Update to virt-manager 2.2.0 (fate#326786)
virt-manager-2.2.0.tar.bz2
* libvirt XML viewing and editing UI for new and existing domain, pools, volumes, networks
* virt-install: libosinfo –unattended support (Fabiano Fidêncio, Cole Robinson)
* Improve CPU model security defaults (Pavel Hrdina)
* virt-install: new –install option. Ex: virt-install –install fedora29
* virt-install: new –install kernel=,initrd=
* virt-install: –disk, –memory, –name defaults from libosinfo (Fabiano Fidêncio, Cole Robinson)
* virt-install: add device suboption aliases which consistently match libvirt XML naming
* virt-xml: new –start, –no-define options (Marc Hartmayer)
* virt-install: Add driver_queues argument to –controller (Vasudeva Kamath)
* RISC-V support (Andrea Bolognani)
* Device default improvements for non-x86 KVM (Andrea Bolognani)
* Redesigned ‘New Network’ wizard
* libguestfs inspection improvements (Pino Toscano)
* virt-install: Add support for xenbus controller (Jim Fehlig)
* cli: Add –disk wwn=,rawio= (Athina Plaskasoviti)
* cli: Add –memballoon autodeflate=,stats.period= (Athina Plaskasoviti)
* cli: Add –iothreads (Athina Plaskasoviti)
* cli: Add –numatune memory.placement (Athina Plaskasoviti)
* cli: Add –launchSecurity option (Erik Skultety)
* cli: Fill in –memorybacking options
* cli: –smartcard: support database= and certificate[0-9]*=
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=476
2019-07-03 20:19:42 +02:00
|
|
|
@@ -607,6 +614,14 @@ class _SuseDistro(_RHELDistro):
|
2019-02-04 19:46:20 +01:00
|
|
|
return var
|
2018-07-17 16:59:44 +02:00
|
|
|
|
|
|
|
|
2019-02-04 19:46:20 +01:00
|
|
|
+class _SLEDistro(_SuseDistro):
|
2018-10-30 23:00:52 +01:00
|
|
|
+ PRETTY_NAME = "SLE"
|
2019-02-04 19:46:20 +01:00
|
|
|
+ matching_distros = ["sle"]
|
2018-10-30 23:00:52 +01:00
|
|
|
+ _variant_prefix = "sle"
|
|
|
|
+ _suse_regex = ["SUSE Linux Enterprise$"]
|
|
|
|
+ famregex = "SUSE Linux Enterprise$"
|
2018-07-17 16:59:44 +02:00
|
|
|
+
|
|
|
|
+
|
2019-02-04 19:46:20 +01:00
|
|
|
class _SLESDistro(_SuseDistro):
|
2018-10-30 23:00:52 +01:00
|
|
|
PRETTY_NAME = "SLES"
|
|
|
|
matching_distros = ["sles"]
|
2019-07-29 21:36:33 +02:00
|
|
|
@@ -852,6 +867,7 @@ def _build_distro_list(osobj):
|
|
|
|
_FedoraDistro,
|
|
|
|
_RHELDistro,
|
|
|
|
_CentOSDistro,
|
|
|
|
+ _SLEDistro,
|
|
|
|
_SLESDistro,
|
|
|
|
_SLEDDistro,
|
|
|
|
_OpensuseDistro,
|