Skip to content

Commit 29e5307

Browse files
authored
Actually use the home dir kasmvnc.yaml to retrieve the httpd_directory setting (#342)
1 parent 545a245 commit 29e5307

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

registry/coder/modules/kasmvnc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Automatically install [KasmVNC](https://kasmweb.com/kasmvnc) in a workspace, and
1414
module "kasmvnc" {
1515
count = data.coder_workspace.me.start_count
1616
source = "registry.coder.com/coder/kasmvnc/coder"
17-
version = "1.2.1"
17+
version = "1.2.2"
1818
agent_id = coder_agent.example.id
1919
desktop_environment = "xfce"
2020
subdomain = true

registry/coder/modules/kasmvnc/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ get_http_dir() {
240240

241241
# Check the home directory for overriding values
242242
if [[ -e "$HOME/.vnc/kasmvnc.yaml" ]]; then
243-
d=($(grep -E "^\s*httpd_directory:.*$" /etc/kasmvnc/kasmvnc.yaml))
243+
d=($(grep -E "^\s*httpd_directory:.*$" "$HOME/.vnc/kasmvnc.yaml"))
244244
if [[ $${#d[@]} -eq 2 && -d "$${d[1]}" ]]; then
245245
httpd_directory="$${d[1]}"
246246
fi

0 commit comments

Comments
 (0)