[Kimchi-devel] [PATCH] [Kimchi] Issue #861: CentOS 7 image not recognized
Rodrigo Trujillo
rodrigo.trujillo at linux.vnet.ibm.com
Wed Mar 16 17:47:53 UTC 2016
Could you concatenate both regex ? Then we have 1 entry for CentOS only.
Rodrigo Trujillo
On 03/16/2016 01:57 PM, rkoch at rk-it.at wrote:
> 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' +
More information about the Kimchi-devel
mailing list