From: mourgaya Date: Tue, 12 Nov 2013 14:14:06 +0000 (+0100) Subject: Update __init__.py X-Git-Tag: v1.3.2~7^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F130%2Fhead;p=ceph-deploy.git Update __init__.py take care with scientific linux : solve: [bb-b34-x6][DEBUG ] detect platform information from remote host [bb-b34-x6][DEBUG ] detect machine type [ceph_deploy][ERROR ] UnsupportedPlatform: Platform is not supported: scientific linux --- diff --git a/ceph_deploy/hosts/__init__.py b/ceph_deploy/hosts/__init__.py index 34d63a1..953168f 100644 --- a/ceph_deploy/hosts/__init__.py +++ b/ceph_deploy/hosts/__init__.py @@ -75,6 +75,8 @@ def _normalized_distro_name(distro): distro = distro.lower() if distro.startswith(('redhat', 'red hat')): return 'redhat' + elif distro.startswith(('scientific', 'scientific linux')): + return 'scientific' elif distro.startswith('suse'): return 'suse' return distro