]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph-daemon: -n type.id instead of -i id
authorSage Weil <sage@redhat.com>
Sat, 5 Oct 2019 19:16:11 +0000 (14:16 -0500)
committerSage Weil <sage@redhat.com>
Sat, 5 Oct 2019 19:30:12 +0000 (14:30 -0500)
This just makes for an easier-to-read '[podman] ps' output (easier to grep,
grok, etc.).

Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph-daemon

index e7c608dc93bc26591266ad9f6e0a38ce8317199a..49843e07c9e3ffc5f9b4de0a9d0d6f84dafe6d16 100755 (executable)
@@ -240,7 +240,7 @@ def get_container(fsid, daemon_type, daemon_id, privileged=False):
         image=args.image,
         entrypoint='/usr/bin/ceph-' + daemon_type,
         args=[
-            '-i', daemon_id,
+            '-n', '%s.%s' % (daemon_type, daemon_id),
             '-f', # foreground
         ] + get_daemon_args(fsid, daemon_type, daemon_id),
         podman_args=podman_args,