]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
make centos installs import keys correctly 115/head
authorAlfredo Deza <alfredo.deza@inktank.com>
Mon, 28 Oct 2013 17:49:01 +0000 (13:49 -0400)
committerAlfredo Deza <alfredo.deza@inktank.com>
Mon, 28 Oct 2013 17:49:01 +0000 (13:49 -0400)
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
ceph_deploy/hosts/centos/install.py

index 8f4e9a0d023baa5250ae4db757ba9f06e4f8c9ef..1549f4cdbfae6a623568947f3a1cb239e0cf5ba1 100644 (file)
@@ -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':