mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Fix config bug in Alpine Vaultwarden (#775)
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							aab63c8db2
						
					
				
				
					commit
					ae0684b696
				
			@@ -25,7 +25,9 @@ msg_ok "Installed Dependencies"
 | 
			
		||||
 | 
			
		||||
msg_info "Installing Alpine-Vaultwarden"
 | 
			
		||||
$STD apk add vaultwarden
 | 
			
		||||
sed -i -e 's/# export ADMIN_TOKEN=.*/export ADMIN_TOKEN='\'''\''/' -e '/^# export ROCKET_ADDRESS=0\.0\.0\.0/s/^# //' -e 's|export WEB_VAULT_ENABLED=.*|export WEB_VAULT_ENABLED=true|' /etc/conf.d/vaultwarden
 | 
			
		||||
sed -i -e 's|export WEB_VAULT_ENABLED=.*|export WEB_VAULT_ENABLED=true|' /etc/conf.d/vaultwarden
 | 
			
		||||
echo -e "export ADMIN_TOKEN=''" >>/etc/conf.d/vaultwarden
 | 
			
		||||
echo -e "export ROCKET_ADDRESS=0.0.0.0" >>/etc/conf.d/vaultwarden
 | 
			
		||||
msg_ok "Installed Alpine-Vaultwarden"
 | 
			
		||||
 | 
			
		||||
msg_info "Installing Web-Vault"
 | 
			
		||||
 
 | 
			
		||||
@@ -47,7 +47,7 @@
 | 
			
		||||
            "type": "warning"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "text": "Build Settings for normal LXC: 6GB RAM - 6GB Storage - 4vCPU",
 | 
			
		||||
            "text": "To set the Admin Token, run the command below (or type update) in the LXC Console.",
 | 
			
		||||
            "type": "info"
 | 
			
		||||
        }
 | 
			
		||||
    ]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user