Skip to content

Commit

Permalink
cloudplow: fix sync/upload paths when using nfs
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Oct 6, 2023
1 parent 7ecc2d1 commit c3a86c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/cloudplow/templates/config.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
}
},
"remove_empty_dir_depth": 2,
"sync_remote": "{{ (remote.remote if ':' in remote.remote else remote.remote + ':/Media') if (remote.template != "nfs") else '/mnt/remote/' + remote.remote }}",
"sync_remote": "{{ (remote.remote if ':' in remote.remote else remote.remote + ':/Media') if (remote.template != "nfs") else '/mnt/remote/' + item.remote.split(':')[0] if ':' in item.remote else item.remote }}",
"upload_folder": "{{ remote.upload_from }}",
"upload_remote": "{{ (remote.remote if ':' in remote.remote else remote.remote + ':/Media') if (remote.template != "nfs") else '/mnt/remote/' + remote.remote }}"
"upload_remote": "{{ (remote.remote if ':' in remote.remote else remote.remote + ':/Media') if (remote.template != "nfs") else '/mnt/remote/' + item.remote.split(':')[0] if ':' in item.remote else item.remote }}"
{% if loop.index == loop.length %}}{% else %}},{{ '\n' }}{% endif %}
{% endfor %}

Expand Down

0 comments on commit c3a86c3

Please sign in to comment.