Merge pull request #177 from wiaam96/patch-1

Update entry.sh
This commit is contained in:
WrightNed
2024-08-22 15:17:49 +03:00
committed by GitHub

View File

@@ -44,9 +44,12 @@ while true; do
done
if [ -z $var_token ] && [ $var_mode != "--hybrid_mode" ]; then
var_token=$(env | grep 'AGENT_TOKEN=' | cut -d'=' -f2-)
if [ -z $var_token ]; then
echo "Error: Token was not provided as input argument."
exit 1
fi
fi
orchestration_service_installation_flags="--container_mode --skip_registration"
if [ ! -z $var_token ]; then