Without this check, the virt-install will report:
RuntimeError: Couldn't find hvm kernel for Ubuntu tree.

Signed-off-by: Jia He <[email protected]>
---
 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

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to