From: Alfredo Deza Date: Mon, 14 Jul 2014 16:20:27 +0000 (-0400) Subject: recognize new weird centos naming X-Git-Tag: v1.5.9~3^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2eff6c60157810275325b8de0e3e57aa551ca9cd;p=ceph-deploy.git recognize new weird centos naming Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/hosts/__init__.py b/ceph_deploy/hosts/__init__.py index 028b800..012fae6 100644 --- a/ceph_deploy/hosts/__init__.py +++ b/ceph_deploy/hosts/__init__.py @@ -85,4 +85,6 @@ def _normalized_distro_name(distro): return 'scientific' elif distro.startswith(('suse', 'opensuse')): return 'suse' + elif distro.startswith('centos'): + return 'centos' return distro