diff --git a/templates/script/listusers.erb.sh b/templates/script/listusers.erb.sh index be0c500..c261e31 100644 --- a/templates/script/listusers.erb.sh +++ b/templates/script/listusers.erb.sh @@ -11,7 +11,7 @@ base_dir="${project}:${bucket}" stat_dir="/opt/statistics" customer_dir="${stat_dir}/${location}" mkdir -p "${customer_dir}" -rclone mkdir "${base_dir}/${location}" +rclone mkdir --no-check-certificate --webdav-headers "Host,sunet.drive.sunet.se" --use-cookies "${base_dir}/${location}" echo "${userjson}" | jq . >"${customer_dir}/users.json" status=${?} if [[ ${status} -eq 0 ]]; then