Skip to content

Commit

Permalink
update guacamole infos
Browse files Browse the repository at this point in the history
  • Loading branch information
oehrlis committed Apr 24, 2023
1 parent 21db977 commit 07f6cd2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/guacamole_init.template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ systemctl reload sshd
# remove failing bash completion for docker-compose
rm -vf /etc/bash_completion.d/docker-compose

# update Guacamole Information
sed -i "s|- Guacamole Consol.*|- Guacamole Console : $GUACAMOLE_CONSOLE|" /etc/profile.d/login-info.sh
sed -i "s|- Guacamole Password.*|- Guacamole Password: $GUACADMIN_PASSWORD|" /etc/profile.d/login-info.sh

# check if we do have an error in the log file
if [ $(grep -iE 'error|err' $LOGFILE|wc -l) -ne 0 ]; then
echo "error" >/var/log/bootstrap_custom_config_status
Expand Down

0 comments on commit 07f6cd2

Please sign in to comment.