From ae74abda26e23d6b214d5474ecf77ed54c34b765 Mon Sep 17 00:00:00 2001 From: Warren Usui Date: Tue, 11 Jun 2013 14:14:07 -0700 Subject: [PATCH] Fix capitalization of CentOS Fixes: #5313 Signed-off-by: Warren Usui --- teuthology/task/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/install.py b/teuthology/task/install.py index f7ab539377..ad8d81dda8 100644 --- a/teuthology/task/install.py +++ b/teuthology/task/install.py @@ -55,7 +55,7 @@ def _get_baseurlinfo_and_dist(ctx, remote, config): 'lsb_release', '-rs'], stdout=StringIO()) retval['relval'] = r.stdout.getvalue().strip() dist_name = None - if ((retval['distro'] == 'Centos') | (retval['distro'] == 'RedHatEnterpriseServer')): + if ((retval['distro'] == 'CentOS') | (retval['distro'] == 'RedHatEnterpriseServer')): distri = 'centos' dist_name = 'el' relval = retval['relval'] -- 2.39.5