[Kimchi-devel] [PATCH] [Kimchi] Issue #861: CentOS 7 image not recognized

rkoch at rk-it.at rkoch at rk-it.at
Wed Mar 16 16:57:21 UTC 2016


From: Rene Koch <rkoch at rk-it.at>

CentOS 7 x86_64 minimal ISO is labled "CentOS 7 x86_64", so operating system is not recognized by Kimchi. This patch adds support for CentOS 7 minimal ISO.
---
 isoinfo.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/isoinfo.py b/isoinfo.py
index 3cd4daf..4954537 100644
--- a/isoinfo.py
+++ b/isoinfo.py
@@ -47,6 +47,8 @@ iso_dir = [
         ('OpenBSD/(i386|amd64)    (\d+\.\d+) Install CD')),
     ('centos', lambda m: m.group(1),
         ('CentOS_(\d+\.\d+)_Final')),
+    ('centos', lambda m: m.group(1),
+        ('CentOS (\d+) ')),
     ('windows', '2000',
         ('W2AFPP|SP1AFPP|SP2AFPP|YRMAFPP|ZRMAFPP|W2AOEM|SP1AOEM|SP2AOEM' +
          '|YRMAOEM|ZRMAOEM|W2ASEL|SP2ASEL|W2SFPP|SP1SFPP|SP2SFPP|YRMSFPP' +
-- 
2.5.0




More information about the Kimchi-devel mailing list