]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: use `sh` instead of `bash` during enter 33822/head
authorMichael Fritch <mfritch@suse.com>
Mon, 9 Mar 2020 16:00:07 +0000 (10:00 -0600)
committerMichael Fritch <mfritch@suse.com>
Mon, 9 Mar 2020 17:34:55 +0000 (11:34 -0600)
not all container images use bash (e.g. node-exporter etc)

Signed-off-by: Michael Fritch <mfritch@suse.com>
src/cephadm/cephadm

index 3a859e566e4256f370547741ee1f28e66e1bc3c2..97dae91cb2af83a2757bbaaab74514d23454287a 100755 (executable)
@@ -2260,7 +2260,7 @@ def command_enter():
     if args.command:
         command = args.command
     else:
-        command = ['bash']
+        command = ['sh']
         container_args += [
             '-it',
             '-e', 'LANG=C',