mirror of
https://github.com/openappsec/openappsec.git
synced 2025-06-28 16:41:02 +03:00
Update entry.sh
This commit is contained in:
parent
ca31aac08a
commit
e7378c9a5f
@ -44,9 +44,12 @@ while true; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [ -z $var_token ] && [ $var_mode != "--hybrid_mode" ]; then
|
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."
|
echo "Error: Token was not provided as input argument."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
orchestration_service_installation_flags="--container_mode --skip_registration"
|
orchestration_service_installation_flags="--container_mode --skip_registration"
|
||||||
if [ ! -z $var_token ]; then
|
if [ ! -z $var_token ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user