From ce745ff6b00e90efcff31860d190a3c7df0f27bb Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 12 Nov 2024 16:01:43 +0100 Subject: [PATCH] Fix port and add more output --- .../application/remount_user_bucket_as_project.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/templates/application/remount_user_bucket_as_project.sh b/templates/application/remount_user_bucket_as_project.sh index 8027081..797cd74 100755 --- a/templates/application/remount_user_bucket_as_project.sh +++ b/templates/application/remount_user_bucket_as_project.sh @@ -18,11 +18,17 @@ function get_config { ${occ} files_external:config ${mountid} ${1} | tr -d '\n\t\r' } +echo "Gathering information, hang tight." + +echo -n "." bucket="$(get_config bucket)" +echo -n "." hostname="$(get_config hostname)" +echo -n "." key="$(get_config key)" -port="$(get_config port)" +echo -n "." region="$(get_config region)" +echo -n "." secret="$(get_config secret)" jsonfile="/tmp/${user}-user-bucket.json" mount_point="${user/@/-}" @@ -42,7 +48,7 @@ echo ' "hostname": "'${hostname}'", "key": "'${key}'", "legacy_auth": false, - "port": "'${port}'", + "port": "443", "region": "'${region}'", "secret": "'${secret}'", "storageClass": "",