From 6d7ff0fa19b0e50f85bd346f098e644f53f33c18 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Wed, 30 Oct 2013 19:29:32 -0400 Subject: [PATCH] make sure this is only for Debian Signed-off-by: Alfredo Deza --- ceph_deploy/hosts/remotes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph_deploy/hosts/remotes.py b/ceph_deploy/hosts/remotes.py index 98d4d31..76789cf 100644 --- a/ceph_deploy/hosts/remotes.py +++ b/ceph_deploy/hosts/remotes.py @@ -8,7 +8,7 @@ import platform def platform_information(): """ detect platform information from remote host """ distro, release, codename = platform.linux_distribution() - if not codename: # this could be an empty string in Debian + if not codename and 'debian' in distro.lower(): # this could be an empty string in Debian debian_codenames = { '8': 'jessie', '7': 'wheezy', -- 2.47.3