Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 865 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 865 Bytes

Guacamole Client Wrapper

This is a thin wrapper around the Apache Guacamole docker image to enable it to run unprivileged in OpenShift and with a stable GUACAMOLE_HOME path.

The following changes were made to the start.sh script:

--- a/start.sh    2017-05-24 11:35:57.000000000 -0400
+++ b/start.sh    2017-05-24 11:16:24.000000000 -0400
@@ -28,9 +28,12 @@
 ## script, running in the foreground until terminated.
 ##

-GUACAMOLE_HOME_TEMPLATE="$GUACAMOLE_HOME"
+umask 0002
+
+if [ -z "$GUACAMOLE_HOME" ]; then
+    GUACAMOLE_HOME="/home/guacamole/.guacamole"
+fi

-GUACAMOLE_HOME="$HOME/.guacamole"
 GUACAMOLE_EXT="$GUACAMOLE_HOME/extensions"
 GUACAMOLE_LIB="$GUACAMOLE_HOME/lib"
 GUACAMOLE_PROPERTIES="$GUACAMOLE_HOME/guacamole.properties"