3 Commits 89ef30b89b ... 822d3d37c5

Author SHA1 Message Date
  jherve 822d3d37c5 Do not mount user's ssh dir 11 months ago
  jherve 7ae974aaaf Use inherited classes 11 months ago
  jherve 89ef30b89b Use inherited classes 11 months ago
1 changed files with 1 additions and 2 deletions
  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 ?")