Jelajahi Sumber

Do not mount user's ssh dir

jherve 1 bulan lalu
induk
melakukan
822d3d37c5
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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",