mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2025-06-26 15:01:28 +02:00
Merge branch 'feature/KASM-4729-profile-sync-changes' into 'develop'
KASM-4729 remove push logic from vnc startup and pull the bigfiles flag from the shutdown hook Closes KASM-4729 See merge request kasm-technologies/internal/workspaces-core-images!132
This commit is contained in:
commit
b081bc89a3
@ -62,7 +62,7 @@ if [ ! -z "$KASM_PROFILE_LDR" ]; then
|
|||||||
echo >&2 "Profile sync not available"
|
echo >&2 "Profile sync not available"
|
||||||
else
|
else
|
||||||
echo "Packing and uploading user profile to object storage."
|
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."
|
echo "Profile upload complete."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -85,19 +85,6 @@ function pull_profile (){
|
|||||||
fi
|
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(){
|
function profile_size_check(){
|
||||||
if [ ! -z "$KASM_PROFILE_SIZE_LIMIT" ]
|
if [ ! -z "$KASM_PROFILE_SIZE_LIMIT" ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user