Преглед на файлове

Do not mount user's ssh dir

jherve преди 1 месец
родител
ревизия
822d3d37c5
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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",