mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	Fix config file missing domain if hostname fails (#2609)
This commit is contained in:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user