Quellcode durchsuchen

Do not mount user's ssh dir

jherve vor 1 Monat
Ursprung
Commit
822d3d37c5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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",