From: Alfredo Deza Date: Thu, 25 Jul 2013 15:08:04 +0000 (-0400) Subject: use the name that comes from lsb and slap the connection too X-Git-Tag: v1.2~22^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b5b3d206f17614575db6ae1f97dd4f88d970d7de;p=ceph-deploy.git use the name that comes from lsb and slap the connection too Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/hosts/__init__.py b/ceph_deploy/hosts/__init__.py index 7b3ad47..182684b 100644 --- a/ceph_deploy/hosts/__init__.py +++ b/ceph_deploy/hosts/__init__.py @@ -36,9 +36,10 @@ def get(hostname, fallback=None): (distro, release, codename) = lsb.get_lsb_release(sudo_conn) module = _get_distro(distro) - module.name = _normalized_distro_name(distro) + module.name = distro module.release = release module.codename = codename + module.sudo_conn = sudo_conn return module