diff --git a/library/ceph_key.py b/library/ceph_key.py index fa9439e5b..d1150a727 100644 --- a/library/ceph_key.py +++ b/library/ceph_key.py @@ -209,8 +209,7 @@ def container_exec(binary, container_image): '-v', '/etc/ceph:/etc/ceph:z', '-v', '/var/lib/ceph/:/var/lib/ceph/:z', '-v', '/var/log/ceph/:/var/log/ceph/:z', - os.path.join('--entrypoint=' + binary), - container_image] + '--entrypoint=' + binary, container_image] return command_exec diff --git a/library/ceph_volume.py b/library/ceph_volume.py index 1b51140e7..c07e920ac 100644 --- a/library/ceph_volume.py +++ b/library/ceph_volume.py @@ -196,8 +196,7 @@ def container_exec(binary, container_image): '-v', '/run/lvm/:/run/lvm/', '-v', '/var/lib/ceph/:/var/lib/ceph/:z', '-v', '/var/log/ceph/:/var/log/ceph/:z', - os.path.join('--entrypoint=' + binary), - container_image] + '--entrypoint=' + binary, container_image] return command_exec