mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2024-11-24 16:33:19 +01:00
enable verbose logging on profile sync
This commit is contained in:
parent
995f2ef043
commit
597d27196c
@ -62,7 +62,7 @@ if [ ! -z "$KASM_PROFILE_LDR" ]; then
|
||||
echo >&2 "Profile sync not available"
|
||||
else
|
||||
echo "Packing and uploading user profile to object storage."
|
||||
http_proxy="" https_proxy="" /usr/bin/kasm-profile-sync --upload /home/kasm-user --insecure --filter "${KASM_PROFILE_FILTER}" --remote ${KASM_API_HOST} --port ${KASM_API_PORT} -c ${KASM_PROFILE_CHUNK_SIZE} --token ${KASM_API_JWT}
|
||||
http_proxy="" https_proxy="" /usr/bin/kasm-profile-sync --upload /home/kasm-user --insecure --filter "${KASM_PROFILE_FILTER}" --remote ${KASM_API_HOST} --port ${KASM_API_PORT} -c ${KASM_PROFILE_CHUNK_SIZE} --token ${KASM_API_JWT} --verbose
|
||||
echo "Profile upload complete."
|
||||
fi
|
||||
fi
|
||||
|
@ -70,7 +70,7 @@ function pull_profile (){
|
||||
|
||||
echo "Downloading and unpacking user profile from object storage."
|
||||
set +e
|
||||
http_proxy="" https_proxy="" /usr/bin/kasm-profile-sync --download /home/kasm-user --insecure --remote ${KASM_API_HOST} --port ${KASM_API_PORT} -c ${KASM_PROFILE_CHUNK_SIZE} --token ${KASM_API_JWT}
|
||||
http_proxy="" https_proxy="" /usr/bin/kasm-profile-sync --download /home/kasm-user --insecure --remote ${KASM_API_HOST} --port ${KASM_API_PORT} -c ${KASM_PROFILE_CHUNK_SIZE} --token ${KASM_API_JWT} --verbose
|
||||
PROCESS_SYNC_EXIT_CODE=$?
|
||||
set -e
|
||||
if (( PROCESS_SYNC_EXIT_CODE > 1 )); then
|
||||
|
Loading…
Reference in New Issue
Block a user