3 Commits 89ef30b89b ... 822d3d37c5

Autore SHA1 Messaggio Data
  jherve 822d3d37c5 Do not mount user's ssh dir 11 mesi fa
  jherve 7ae974aaaf Use inherited classes 11 mesi fa
  jherve 89ef30b89b Use inherited classes 11 mesi fa
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  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 ?")