3 Commity 89ef30b89b ... 822d3d37c5

Autor SHA1 Wiadomość Data
  jherve 822d3d37c5 Do not mount user's ssh dir 1 miesiąc temu
  jherve 7ae974aaaf Use inherited classes 1 miesiąc temu
  jherve 89ef30b89b Use inherited classes 1 miesiąc temu
1 zmienionych plików z 1 dodań i 2 usunięć
  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 ?")