mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2024-11-25 00:43:11 +01:00
KASM-4729 remove push logic from vnc startup and pull the bigfiles flag from the shutdown hook
This commit is contained in:
parent
3e61ee82c4
commit
4993662016
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user