From aba414e875447808d7666dd4b618a64cd5903ca9 Mon Sep 17 00:00:00 2001 From: chgl Date: Tue, 19 Aug 2025 16:33:08 +0200 Subject: [PATCH 1/2] Actually use the home dir kasmvnc.yaml to retrieve the httpd_directory setting --- registry/coder/modules/kasmvnc/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/coder/modules/kasmvnc/run.sh b/registry/coder/modules/kasmvnc/run.sh index 67a8a310c..5223fb9f0 100644 --- a/registry/coder/modules/kasmvnc/run.sh +++ b/registry/coder/modules/kasmvnc/run.sh @@ -240,7 +240,7 @@ get_http_dir() { # Check the home directory for overriding values if [[ -e "$HOME/.vnc/kasmvnc.yaml" ]]; then - d=($(grep -E "^\s*httpd_directory:.*$" /etc/kasmvnc/kasmvnc.yaml)) + d=($(grep -E "^\s*httpd_directory:.*$" "$HOME/.vnc/kasmvnc.yaml")) if [[ $${#d[@]} -eq 2 && -d "$${d[1]}" ]]; then httpd_directory="$${d[1]}" fi From 3010af85b1b15ca45ff9e2d1b433e3f6bb3f18ed Mon Sep 17 00:00:00 2001 From: chgl Date: Tue, 19 Aug 2025 14:40:25 +0000 Subject: [PATCH 2/2] bumped version --- registry/coder/modules/kasmvnc/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/coder/modules/kasmvnc/README.md b/registry/coder/modules/kasmvnc/README.md index 1f65aa295..b9b16b269 100644 --- a/registry/coder/modules/kasmvnc/README.md +++ b/registry/coder/modules/kasmvnc/README.md @@ -14,7 +14,7 @@ Automatically install [KasmVNC](https://kasmweb.com/kasmvnc) in a workspace, and module "kasmvnc" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/kasmvnc/coder" - version = "1.2.1" + version = "1.2.2" agent_id = coder_agent.example.id desktop_environment = "xfce" subdomain = true