virtbuilder_pel7ppc64bebuilder0
5 years ago
2 changed files with 24 additions and 1 deletions
@ -0,0 +1,20 @@ |
|||||||
|
--- virt-manager-2.2.1/virtinst/install/urldetect.py 2020-05-30 18:30:03.090000000 +0200 |
||||||
|
+++ virt-manager-2.2.1/virtinst/install/urldetect.py 2020-05-30 18:31:07.600000000 +0200 |
||||||
|
@@ -640,6 +640,8 @@ |
||||||
|
media_type = None |
||||||
|
if check_manifest("current/images/MANIFEST"): |
||||||
|
media_type = "url" |
||||||
|
+ elif check_manifest("current/legacy-images/MANIFEST"): |
||||||
|
+ media_type = "legacy_url" |
||||||
|
elif check_manifest("daily/MANIFEST"): |
||||||
|
media_type = "daily" |
||||||
|
elif cache.content_regex(".disk/info", |
||||||
|
@@ -697,6 +699,8 @@ |
||||||
|
url_prefix = "daily" |
||||||
|
elif self.cache.debian_media_type == "mounted_iso_url": |
||||||
|
url_prefix = "install" |
||||||
|
+ elif self.cache.debian_media_type == "legacy_url": |
||||||
|
+ url_prefix = "current/legacy-images" |
||||||
|
|
||||||
|
tree_arch = self._find_treearch() |
||||||
|
hvmroot = "%s/netboot/%s-installer/%s/" % (url_prefix, |
Loading…
Reference in new issue