From: Alfredo Deza Date: Mon, 28 Oct 2013 17:49:01 +0000 (-0400) Subject: make centos installs import keys correctly X-Git-Tag: v1.3~8^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5b7e8dab3bb5662c9e604ec989f7d7e91fbc90dd;p=ceph-deploy.git make centos installs import keys correctly Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/hosts/centos/install.py b/ceph_deploy/hosts/centos/install.py index 8f4e9a0..1549f4c 100644 --- a/ceph_deploy/hosts/centos/install.py +++ b/ceph_deploy/hosts/centos/install.py @@ -18,10 +18,10 @@ def install(distro, version_kind, version, adjust_repos): process.run( distro.conn, [ - "su", - "-c", - "'rpm --import \"https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/{key}.asc\"'".format(key=key), - ], + 'rpm', + '--import', + "https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/{key}.asc".format(key=key) + ] ) if version_kind == 'stable':