From 341b6943e9158bc47be47be5154d668e4d9d1471 Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Wed, 13 Nov 2019 09:10:10 -0700 Subject: [PATCH] ceph-daemon: use `-e` instead of `--env` Older versions of podman don't allow intermixing `-e` and `--env` Signed-off-by: Michael Fritch --- src/ceph-daemon/ceph-daemon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ceph-daemon/ceph-daemon b/src/ceph-daemon/ceph-daemon index 0002209bbbe89..e6b0ce10f4194 100755 --- a/src/ceph-daemon/ceph-daemon +++ b/src/ceph-daemon/ceph-daemon @@ -1225,7 +1225,7 @@ def command_shell(): command = ['bash'] podman_args += [ '-it', - '--env', 'LANG=C', + '-e', 'LANG=C', '-e', "PS1=%s" % CUSTOM_PS1, ] c = CephContainer( @@ -1247,7 +1247,7 @@ def command_enter(): command = ['bash'] podman_args += [ '-it', - '--env', 'LANG=C', + '-e', 'LANG=C', '-e', "PS1=%s" % CUSTOM_PS1, ] c = get_container(args.fsid, daemon_type, daemon_id, -- 2.39.5