[virt-tools-list] [PATCH 1/3] virtinst: Fix cd recognition on Ubuntu

Viktor Mihajlovski mihajlov at linux.vnet.ibm.com
Mon Sep 11 15:19:34 UTC 2017


The Ubuntu c recognition was looking for a file .disk/mini-info.
However, the correct name is .disk/info.

Signed-off-by: Viktor Mihajlovski <mihajlov at linux.vnet.ibm.com>
---
 virtinst/urlfetcher.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py
index 6b1e30f..e657def 100644
--- a/virtinst/urlfetcher.py
+++ b/virtinst/urlfetcher.py
@@ -1264,7 +1264,7 @@ class UbuntuDistro(DebianDistro):
 
     def _is_install_cd(self):
         # For install CDs
-        if not self._check_info(".disk/mini-info"):
+        if not self._check_info(".disk/info"):
             return False
 
         kernel_initrd_pair = ("linux", "initrd.gz")
-- 
1.9.1




More information about the virt-tools-list mailing list