1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-03-08 13:19:05 +00:00

Fix config file missing domain if hostname fails (#2609)

This commit is contained in:
Slaviša Arežina 2025-02-24 14:39:35 +01:00 committed by GitHub
parent 05364685af
commit 0e5be846be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,9 @@ JWT_SECRET=$(openssl rand -hex 64)
SESSION_SECRET=$(openssl rand -hex 64)
STORAGE_KEY=$(openssl rand -hex 64)
DOMAIN=$(hostname -d)
if [ -z "$DOMAIN" ]; then
DOMAIN=$(hostname)
fi
cat <<EOF >/etc/authelia/users.yml
users:
authelia: