From: Alfredo Deza Date: Wed, 16 Oct 2013 21:11:55 +0000 (-0400) Subject: install now uses the new username flag! X-Git-Tag: v1.3~14^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=055847637e243a1f618a88983a1d2b4fb73cbf24;p=ceph-deploy.git install now uses the new username flag! Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/install.py b/ceph_deploy/install.py index d7416ae..14d095d 100644 --- a/ceph_deploy/install.py +++ b/ceph_deploy/install.py @@ -25,6 +25,7 @@ def ceph_is_installed(conn): def install(args): version = getattr(args, args.version_kind) version_str = args.version_kind + if version: version_str += ' version {version}'.format(version=version) LOG.debug( @@ -36,7 +37,7 @@ def install(args): for hostname in args.host: # TODO username LOG.debug('Detecting platform for host %s ...', hostname) - distro = hosts.get(hostname) + distro = hosts.get(hostname, username=args.username) LOG.info('Distro info: %s %s %s', distro.name, distro.release, distro.codename) rlogger = logging.getLogger(hostname) rlogger.info('installing ceph on %s' % hostname)