Fix port and add more output
This commit is contained in:
parent
1aae63ba07
commit
ce745ff6b0
|
@ -18,11 +18,17 @@ function get_config {
|
||||||
${occ} files_external:config ${mountid} ${1} | tr -d '\n\t\r'
|
${occ} files_external:config ${mountid} ${1} | tr -d '\n\t\r'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo "Gathering information, hang tight."
|
||||||
|
|
||||||
|
echo -n "."
|
||||||
bucket="$(get_config bucket)"
|
bucket="$(get_config bucket)"
|
||||||
|
echo -n "."
|
||||||
hostname="$(get_config hostname)"
|
hostname="$(get_config hostname)"
|
||||||
|
echo -n "."
|
||||||
key="$(get_config key)"
|
key="$(get_config key)"
|
||||||
port="$(get_config port)"
|
echo -n "."
|
||||||
region="$(get_config region)"
|
region="$(get_config region)"
|
||||||
|
echo -n "."
|
||||||
secret="$(get_config secret)"
|
secret="$(get_config secret)"
|
||||||
jsonfile="/tmp/${user}-user-bucket.json"
|
jsonfile="/tmp/${user}-user-bucket.json"
|
||||||
mount_point="${user/@/-}"
|
mount_point="${user/@/-}"
|
||||||
|
@ -42,7 +48,7 @@ echo '
|
||||||
"hostname": "'${hostname}'",
|
"hostname": "'${hostname}'",
|
||||||
"key": "'${key}'",
|
"key": "'${key}'",
|
||||||
"legacy_auth": false,
|
"legacy_auth": false,
|
||||||
"port": "'${port}'",
|
"port": "443",
|
||||||
"region": "'${region}'",
|
"region": "'${region}'",
|
||||||
"secret": "'${secret}'",
|
"secret": "'${secret}'",
|
||||||
"storageClass": "",
|
"storageClass": "",
|
||||||
|
|
Loading…
Reference in a new issue