mirror of
				https://git.koehlerweb.org/frodovdr/guac-install
				synced 2025-10-31 07:16:40 +01:00 
			
		
		
		
	Fixed /etc/guacamole/guacamole.properties (#83)
When running guac-install.sh several times, /etc/guacamole/guacamole.properties wit contain the credentials several times. For that the file will be removed and re-created afterwards.
This commit is contained in:
		
				
					committed by
					
						 Chase Wright
						Chase Wright
					
				
			
			
				
	
			
			
			
						parent
						
							1a13bad832
						
					
				
				
					commit
					cd866f807c
				
			| @@ -250,6 +250,8 @@ cp guacamole-auth-jdbc-${GUACVERSION}/mysql/guacamole-auth-jdbc-mysql-${GUACVERS | |||||||
| cp guacamole-auth-totp-${GUACVERSION}/guacamole-auth-totp-${GUACVERSION}.jar /etc/guacamole/extensions/ | cp guacamole-auth-totp-${GUACVERSION}/guacamole-auth-totp-${GUACVERSION}.jar /etc/guacamole/extensions/ | ||||||
|  |  | ||||||
| # Configure guacamole.properties | # Configure guacamole.properties | ||||||
|  | rm -f /etc/guacamole/guacamole.properties | ||||||
|  | touch /etc/guacamole/guacamole.properties | ||||||
| echo "mysql-hostname: localhost" >> /etc/guacamole/guacamole.properties | echo "mysql-hostname: localhost" >> /etc/guacamole/guacamole.properties | ||||||
| echo "mysql-port: 3306" >> /etc/guacamole/guacamole.properties | echo "mysql-port: 3306" >> /etc/guacamole/guacamole.properties | ||||||
| echo "mysql-database: ${DB}" >> /etc/guacamole/guacamole.properties | echo "mysql-database: ${DB}" >> /etc/guacamole/guacamole.properties | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user