Use ip address and don't check cert
This commit is contained in:
commit
9e18ee62e8
|
@ -34,7 +34,7 @@ if ! jq . "${customer_dir}/users.json" &>/dev/null; then
|
||||||
fi
|
fi
|
||||||
if [[ ${status} -eq 0 ]]; then
|
if [[ ${status} -eq 0 ]]; then
|
||||||
# something is wrong if we cant copy the file in 30 seconds, so we should note that
|
# something is wrong if we cant copy the file in 30 seconds, so we should note that
|
||||||
if ! timeout 30s rclone copy --webdav-headers "Host=sunet.drive.sunet.se" --use-cookies "${customer_dir}/users.json" "${base_dir}/${location}/"; then
|
if ! timeout 30s rclone copy --no-check-certificate --webdav-headers "Host,sunet.drive.sunet.se" --use-cookies "${customer_dir}/users.json" "${base_dir}/${location}/"; then
|
||||||
status=1
|
status=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue