[virt-tools-list] [PATCH 3/3] virtinst: Add s390x cd detection for Debian
Viktor Mihajlovski
mihajlov at linux.vnet.ibm.com
Mon Sep 11 15:19:36 UTC 2017
Enable the installation from Debian s390x CD images.
Signed-off-by: Viktor Mihajlovski <mihajlov at linux.vnet.ibm.com>
---
virtinst/urlfetcher.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py
index a32c2d6..ef3e18e 100644
--- a/virtinst/urlfetcher.py
+++ b/virtinst/urlfetcher.py
@@ -1200,6 +1200,8 @@ class DebianDistro(Distro):
kernel_initrd_pair = ("install.amd/vmlinuz", "install.amd/initrd.gz")
elif self.arch == "i686":
kernel_initrd_pair = ("install.386/vmlinuz", "install.386/initrd.gz")
+ elif self.arch == "s390x":
+ kernel_initrd_pair = ("boot/linux_vm", "boot/root.bin")
else:
kernel_initrd_pair = ("install/vmlinuz", "install/initrd.gz")
self._hvm_kernel_paths += [kernel_initrd_pair]
--
1.9.1
More information about the virt-tools-list
mailing list