[virt-tools-list] [PATCH] Add arm64 check to urlfetcher to cater for Ubuntu distro
Jia He
hejianet at gmail.com
Thu Sep 28 06:43:37 UTC 2017
Without this check, the virt-install will report:
RuntimeError: Couldn't find hvm kernel for Ubuntu tree.
Signed-off-by: Jia He <hejianet at gmail.com>
---
virtinst/urlfetcher.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py
index ef3e18e..2dd97f4 100644
--- a/virtinst/urlfetcher.py
+++ b/virtinst/urlfetcher.py
@@ -1108,7 +1108,7 @@ class DebianDistro(Distro):
# Check for standard 'i386' and 'amd64' which will be
# in the URI name for --location $ISO mounts
- for arch in ["i386", "amd64", "x86_64"]:
+ for arch in ["i386", "amd64", "x86_64", "arm64"]:
if arch in self.uri:
logging.debug("Found treearch=%s in uri", arch)
if arch == "x86_64":
--
2.7.4
More information about the virt-tools-list
mailing list