From ca1cdc9e07f03cedd8877d8b11e64e4ccb1d215b Mon Sep 17 00:00:00 2001 From: mourgaya Date: Tue, 12 Nov 2013 15:14:06 +0100 Subject: [PATCH] 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 --- ceph_deploy/hosts/__init__.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.47.3