We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3070975 + 9809576 commit ed49ec1Copy full SHA for ed49ec1
ceph_devstack/resources/ceph/__init__.py
@@ -74,7 +74,7 @@ async def _get_ssh_keys(self):
74
check=True,
75
force_local=True,
76
)
77
- self.pubkey_path = f"{privkey_path}.pub"
+ self.pubkey_path = f"{privkey_path}.pub"
78
self.privkey_path = privkey_path
79
80
ceph_devstack/resources/ceph/containers.py
@@ -333,6 +333,14 @@ def create_cmd(self):
333
"-v",
334
f"{ansible_inv}/secrets:/etc/ansible/secrets",
335
]
336
+ ssh_auth_socket = os.environ.get("SSH_AUTH_SOCK")
337
+ if ssh_auth_socket:
338
+ cmd += [
339
+ "-v",
340
+ f"{ssh_auth_socket}:{ssh_auth_socket}",
341
+ "-e",
342
+ f"SSH_AUTH_SOCK={ssh_auth_socket}",
343
+ ]
344
cmd += [
345
"--name",
346
"{name}",
0 commit comments