Skip to content

Commit

Permalink
Bug fix: Detect CentOS 8 ISO
Browse files Browse the repository at this point in the history
CentOS 8 ISO is using hifen (-) to describe the OS name and version:
	CentOS-8-BaseOS-x86_64.

Signed-off-by: Aline Manera <aline.manera@gmail.com>
  • Loading branch information
alinefm committed Dec 7, 2019
1 parent daa803d commit 1dadcda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isoinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
lambda m: m.group(2),
('OpenBSD/(i386|amd64) (\\d+\\.\\d+) Install CD'),
),
('centos', lambda m: m.group(1), ('CentOS[ _](\\d+\\.?\\d?)[ _].+')),
('centos', lambda m: m.group(1), ('CentOS[ _-](\\d+\\.?\\d?)[ _-].+')),
(
'windows',
'2000',
Expand Down

0 comments on commit 1dadcda

Please sign in to comment.