- bsc#989652 - Cannot create vms with virt-manager after upgrade
from SLES11SP4 to SLES12SP2 virtman-show-suse-install-repos.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=325
This commit is contained in:
parent
b27495e815
commit
759c2de5b1
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 19 16:23:06 MDT 2016 - carnold@suse.com
|
||||||
|
|
||||||
|
- bsc#989652 - Cannot create vms with virt-manager after upgrade
|
||||||
|
from SLES11SP4 to SLES12SP2
|
||||||
|
virtman-show-suse-install-repos.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 20 15:21:20 MDT 2016 - carnold@suse.com
|
Mon Jun 20 15:21:20 MDT 2016 - carnold@suse.com
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ Index: virt-manager-1.4.0/virtinst/util.py
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- virt-manager-1.4.0.orig/virtinst/util.py
|
--- virt-manager-1.4.0.orig/virtinst/util.py
|
||||||
+++ virt-manager-1.4.0/virtinst/util.py
|
+++ virt-manager-1.4.0/virtinst/util.py
|
||||||
@@ -552,3 +552,22 @@ def getInstallRepos(enabled_sources_only
|
@@ -553,3 +553,22 @@ def getInstallRepos(enabled_sources_only
|
||||||
return (index_dom0, zypper_output)
|
return (index_dom0, zypper_output)
|
||||||
|
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ Index: virt-manager-1.4.0/virtinst/util.py
|
|||||||
|
|
||||||
def listify(l):
|
def listify(l):
|
||||||
if l is None:
|
if l is None:
|
||||||
@@ -452,3 +455,100 @@ def make_meter(quiet):
|
@@ -452,3 +455,101 @@ def make_meter(quiet):
|
||||||
if quiet:
|
if quiet:
|
||||||
return progress.BaseMeter()
|
return progress.BaseMeter()
|
||||||
return progress.TextMeter(fo=sys.stdout)
|
return progress.TextMeter(fo=sys.stdout)
|
||||||
@ -116,9 +116,10 @@ Index: virt-manager-1.4.0/virtinst/util.py
|
|||||||
+ zypper_header = [x.strip(' ') for x in zypper_list[0].split("|")]
|
+ zypper_header = [x.strip(' ') for x in zypper_list[0].split("|")]
|
||||||
+ uri_index = zypper_header.index("URI")
|
+ uri_index = zypper_header.index("URI")
|
||||||
+ except:
|
+ except:
|
||||||
+ if dom0_inst_source is None:
|
+ inst_source = []
|
||||||
+ dom0_inst_source = []
|
+ if dom0_inst_source:
|
||||||
+ return (0, dom0_inst_source)
|
+ inst_source = [dom0_inst_source]
|
||||||
|
+ return (0, inst_source)
|
||||||
+
|
+
|
||||||
+ index_dom0 = -1
|
+ index_dom0 = -1
|
||||||
+ number_of_sources = 0
|
+ number_of_sources = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user