diff --git a/src/common/scripts/kasm_hook_scripts/kasm_pre_shutdown_user.sh b/src/common/scripts/kasm_hook_scripts/kasm_pre_shutdown_user.sh index 26bf102..5253404 100644 --- a/src/common/scripts/kasm_hook_scripts/kasm_pre_shutdown_user.sh +++ b/src/common/scripts/kasm_hook_scripts/kasm_pre_shutdown_user.sh @@ -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} --bigfiles skip + 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} echo "Profile upload complete." fi fi diff --git a/src/common/startup_scripts/vnc_startup.sh b/src/common/startup_scripts/vnc_startup.sh index 419a1a6..102e35f 100755 --- a/src/common/startup_scripts/vnc_startup.sh +++ b/src/common/startup_scripts/vnc_startup.sh @@ -85,19 +85,6 @@ function pull_profile (){ fi } -function push_profile(){ - if [ ! -z "$KASM_PROFILE_LDR" ]; then - if [ -z "$kasm_profile_sync_found" ]; then - echo >&2 "Profile sync not available" - return - fi - - echo "Packing and uploading user profile to object storage." - /usr/bin/kasm-profile-sync --upload /home/kasm-user --insecure --remote ${KASM_API_HOST} --port ${KASM_API_PORT} -c ${KASM_PROFILE_CHUNK_SIZE} --token ${KASM_API_JWT} - echo "Profile upload complete." - fi -} - function profile_size_check(){ if [ ! -z "$KASM_PROFILE_SIZE_LIMIT" ] then