3 次代码提交 89ef30b89b ... 822d3d37c5

作者 SHA1 备注 提交日期
  jherve 822d3d37c5 Do not mount user's ssh dir 11 月之前
  jherve 7ae974aaaf Use inherited classes 11 月之前
  jherve 89ef30b89b Use inherited classes 11 月之前
共有 1 个文件被更改,包括 1 次插入 和 2 次删除
  1. 1 2
      start.py

+ 1 - 2
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",
@@ -180,7 +180,6 @@ def main():
 
     secret_sources = Secret.read_sources(hostname, login)
 
-    print(secret_sources)
     if not secret_sources:
         print("no secret required ?")