commit b091b832183ee86899f8870e0bc05851fb96c241 parent 9818ad43677c6ccf2a1fecae11b291a871d198c0 Author: Henry Unite <unitehenry@gmail.com> Date: Sun, 26 Jul 2026 02:23:25 +0000 refactor: user mapping Diffstat:
| M | images/guacamole/Containerfile | | | 2 | +- |
| R | guacamole/config/user-mapping.xml -> images/guacamole/config/user-mapping.xml | | | 0 | |
| M | install.sh | | | 2 | +- |
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/images/guacamole/Containerfile b/images/guacamole/Containerfile @@ -4,7 +4,7 @@ USER root RUN mkdir -p /etc/guacamole && chown guacamole:guacamole /etc/guacamole -COPY --chown=guacamole:guacamole guacamole/config/user-mapping.xml /etc/guacamole/user-mapping.xml +COPY --chown=guacamole:guacamole images/guacamole/config/user-mapping.xml /etc/guacamole/user-mapping.xml COPY --chown=guacamole:guacamole images/guacamole/entrypoint.d/150-replace-credentials.sh /opt/guacamole/entrypoint.d/150-replace-credentials.sh RUN chmod 644 /opt/guacamole/entrypoint.d/150-replace-credentials.sh /etc/guacamole/user-mapping.xml diff --git a/guacamole/config/user-mapping.xml b/images/guacamole/config/user-mapping.xml diff --git a/install.sh b/install.sh @@ -53,7 +53,7 @@ docker run -d --network amish --name guacd docker.io/guacamole/guacd # Run guacamole mkdir -p /var/lib/guacamole/config -curl https://raw.githubusercontent.com/unitehenry/amish/refs/heads/master/guacamole/config/user-mapping.xml -o /var/lib/guacamole/config/user-mapping.xml +curl https://raw.githubusercontent.com/unitehenry/amish/refs/heads/master/images/guacamole/config/user-mapping.xml -o /var/lib/guacamole/config/user-mapping.xml if [ "${WIZARD}" = "0" ]; then GUAC_USERNAME="admin"