diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-05-26 11:03:40 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-05-26 11:03:40 -0300 |
commit | 5d66d68cba5c37b91c46f7a500b4bf85b6e9df89 (patch) | |
tree | 1d1247e5ef6f416d90176b7aa5c915230298f0fa /templates/borg.sh.erb | |
parent | 0d4aaef7770ca9bad7663a6de00ce8bcaa8b5ed6 (diff) | |
download | puppet-backup-5d66d68cba5c37b91c46f7a500b4bf85b6e9df89.tar.gz puppet-backup-5d66d68cba5c37b91c46f7a500b4bf85b6e9df89.tar.bz2 |
Borg: fix BORG_KEY_FILE
Diffstat (limited to 'templates/borg.sh.erb')
-rw-r--r-- | templates/borg.sh.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/borg.sh.erb b/templates/borg.sh.erb index 6c5e3ab..652bfa0 100644 --- a/templates/borg.sh.erb +++ b/templates/borg.sh.erb @@ -20,7 +20,7 @@ if [ "<%= @encryption %>" == "keyfile" ] && [ ! -z "<%= @keyfile %>" ]; then fatal "Keyfile not found: <%= @keyfile %>. Please create it manually." fi - export BORG_KEY_FILE="/root/.borg/hydra/key" + export BORG_KEY_FILE="<%= @keyfile %>" fi # some helpers and error handling: |