未验证 提交 dd8c2dd3 编写于 作者: C Cleber Rosa

Merge remote-tracking branch 'PraveenPenguin/r8_distro'

Signed-off-by: NCleber Rosa <crosa@redhat.com>
...@@ -268,8 +268,8 @@ class RedHatProbe(Probe): ...@@ -268,8 +268,8 @@ class RedHatProbe(Probe):
CHECK_FILE = '/etc/redhat-release' CHECK_FILE = '/etc/redhat-release'
CHECK_FILE_CONTAINS = 'Red Hat Enterprise Linux' CHECK_FILE_CONTAINS = 'Red Hat Enterprise Linux'
CHECK_FILE_DISTRO_NAME = 'rhel' CHECK_FILE_DISTRO_NAME = 'rhel'
CHECK_VERSION_REGEX = re.compile( CHECK_VERSION_REGEX = re.compile(r'Red Hat Enterprise Linux\s+\w*\s*release\s+'
r'Red Hat Enterprise Linux \w+ release (\d{1,2})\.(\d{1,2}).*') r'(\d{1,2})\.(\d{1,2}).*')
class CentosProbe(RedHatProbe): class CentosProbe(RedHatProbe):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册