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:
parent
05364685af
commit
0e5be846be
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user