mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-281: Consider template GUACAMOLE_HOME in Docker image configuration sanity checks.
This commit is contained in:
@@ -427,7 +427,7 @@ fi
|
|||||||
# Validate that at least one authentication backend is installed
|
# Validate that at least one authentication backend is installed
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ -z "$INSTALLED_AUTH" ]; then
|
if [ -z "$INSTALLED_AUTH" -a -z "$GUACAMOLE_HOME_TEMPLATE" ]; then
|
||||||
cat <<END
|
cat <<END
|
||||||
FATAL: No authentication configured
|
FATAL: No authentication configured
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
@@ -435,7 +435,7 @@ The Guacamole Docker container needs at least one authentication mechanism in
|
|||||||
order to function, such as a MySQL database, PostgreSQL database, or LDAP
|
order to function, such as a MySQL database, PostgreSQL database, or LDAP
|
||||||
directory. Please specify at least the MYSQL_DATABASE or POSTGRES_DATABASE
|
directory. Please specify at least the MYSQL_DATABASE or POSTGRES_DATABASE
|
||||||
environment variables, or check Guacamole's Docker documentation regarding
|
environment variables, or check Guacamole's Docker documentation regarding
|
||||||
configuring LDAP.
|
configuring LDAP and/or custom extensions.
|
||||||
END
|
END
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user