Commit 18f659d8 authored by Łukasz Nowak's avatar Łukasz Nowak

playbook (util): Allow to choose configuration file in upload-to-cache

parent 141ec846
rm -f /tmp/archive.tar.gz && tar -czvf /tmp/archive.tar.gz . && slapcache-upload --file=/tmp/archive.tar.gz conf=${1:-/etc/opt/slapcache.cfg}
conf=$(realpath $conf)
rm -f /tmp/archive.tar.gz && tar -czvf /tmp/archive.tar.gz . && slapcache-upload --file=/tmp/archive.tar.gz --slapos-configuration=$conf
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment