mirror of
https://github.com/itiligent/Easy-Guacamole-Installer.git
synced 2025-12-14 02:12:31 +00:00
shfmt clean up
This commit is contained in:
parent
aa4bd94799
commit
fbb5da4c30
17 changed files with 972 additions and 981 deletions
|
|
@ -11,7 +11,6 @@
|
||||||
# Layer 2 = GUAC SERVER & APPLICATION - use the main setup script, and select remote MYSQL DB option.
|
# Layer 2 = GUAC SERVER & APPLICATION - use the main setup script, and select remote MYSQL DB option.
|
||||||
# Layer 3 = FRONT END REV PROXY (Potentially load balanced & HA) - approach TBA
|
# Layer 3 = FRONT END REV PROXY (Potentially load balanced & HA) - approach TBA
|
||||||
|
|
||||||
|
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
# Script pre-flight checks and settings ###############################################################################
|
# Script pre-flight checks and settings ###############################################################################
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
|
|
@ -42,7 +41,6 @@ if [ "$(find . -maxdepth 1 \( -name 'guacamole-*' -o -name 'mysql-connector-j-*'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
# Initial environment setup ###########################################################################################
|
# Initial environment setup ###########################################################################################
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
|
|
@ -73,7 +71,6 @@ echo -e " ${LGREEN}Powered by Itiligent"
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
# Setup options. ######################################################################################################
|
# Setup options. ######################################################################################################
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
|
|
@ -97,7 +94,6 @@ DB_TZ=$(cat /etc/timezone) # Typically system default (cat /etc/timezone) or ch
|
||||||
# To install a new MySQL database on the same server as the Guacamole application, set BACKEND_MYSQL="false" &
|
# To install a new MySQL database on the same server as the Guacamole application, set BACKEND_MYSQL="false" &
|
||||||
# MYSQL_BIND_ADDR="127.0.0.1". See bottom of this script for some remaining DB migration actions.
|
# MYSQL_BIND_ADDR="127.0.0.1". See bottom of this script for some remaining DB migration actions.
|
||||||
|
|
||||||
|
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
# Start install actions ##############################################################################################
|
# Start install actions ##############################################################################################
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
|
|
@ -342,7 +338,6 @@ echo
|
||||||
printf "${LGREEN}Guacamole ${GUAC_VERSION} MySQL backend install complete! \n${NC}"
|
printf "${LGREEN}Guacamole ${GUAC_VERSION} MySQL backend install complete! \n${NC}"
|
||||||
echo -e ${NC}
|
echo -e ${NC}
|
||||||
|
|
||||||
|
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
# Additional migration steps for adding MySQL to an existing Guacamole application server
|
# Additional migration steps for adding MySQL to an existing Guacamole application server
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,6 @@ if [ "$(find . -maxdepth 1 \( -name 'guacamole-*' -o -name 'mysql-connector-j-*'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
# Initial environment setup ###########################################################################################
|
# Initial environment setup ###########################################################################################
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,6 @@ if [ "$(find . -maxdepth 1 \( -name 'guacamole-*' -o -name 'mysql-connector-j-*'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
# Initial environment setup ###########################################################################################
|
# Initial environment setup ###########################################################################################
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
|
|
@ -82,7 +81,6 @@ echo -e "${GREYB}Guacamole VDI & Jump Server Appliance UPGRADE."
|
||||||
echo -e " ${LGREEN}Powered by Itiligent"
|
echo -e " ${LGREEN}Powered by Itiligent"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
# Start upgrade actions ##############################################################################################
|
# Start upgrade actions ##############################################################################################
|
||||||
#######################################################################################################################
|
#######################################################################################################################
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,6 @@ chmod 644 /etc/guacamole/ssl/guacd.key
|
||||||
cd /etc/guacamole/ssl
|
cd /etc/guacamole/ssl
|
||||||
keytool -importcert -alias guacd -noprompt -cacerts -storepass changeit -file guacd.crt
|
keytool -importcert -alias guacd -noprompt -cacerts -storepass changeit -file guacd.crt
|
||||||
|
|
||||||
|
|
||||||
systemctl restart guacd
|
systemctl restart guacd
|
||||||
systemctl restart ${TOMCAT_VERSION}
|
systemctl restart ${TOMCAT_VERSION}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue