소스 검색

Do not mount user's ssh dir

jherve 1 개월 전
부모
커밋
822d3d37c5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      start.py

+ 1 - 1
start.py

@@ -134,8 +134,8 @@ def start_borgmatic_container(hostname: str, login: str, secret_sources: list[Se
     volumes = [
         f"{config_d_path}:/etc/borgmatic.d/",
         f"{config_path}:/etc/borgmatic/",
-        f"{ssh_config_path}:/root/.ssh",
         f"{history_file}:/root/.bash_history",
+        "borg_ssh_dir:/root/.ssh",
         "borg_config:/root/.config/borg",
         "borg_cache:/root/.cache/borg",
         "borgmatic_state:/root/.local/state/borgmatic",