Sfoglia il codice sorgente

fix workspace invokation and require socat

pull/1/head
parent
commit
59183c3a7e
2 ha cambiato i file con 8 aggiunte e 1 eliminazioni
  1. +7
    -0
      tasks/apt.yaml
  2. +1
    -1
      templates/workspaces/workspace.space.fish.j2

+ 7
- 0
tasks/apt.yaml Vedi File

@@ -0,0 +1,7 @@
---

- name: ensure that all apt package requirements are met
apt:
pkg:
- socat

+ 1
- 1
templates/workspaces/workspace.space.fish.j2 Vedi File

@@ -15,7 +15,7 @@ end

{% if workspaces[workspace].type == "vncviewer-ssh-socket" %}

socat "UNIX-LISTEN:.vnc/socket.anix,reuseaddr" EXEC:'ssh {{workspaces[workspace].host}} socat STDIO UNIX-CONNECT\:.vnc/socket' &
socat "UNIX-LISTEN:.vnc/socket.{{workspaces[workspace].host}},reuseaddr" EXEC:'ssh {{workspaces[workspace].host}} socat STDIO UNIX-CONNECT\:.vnc/socket' &
exec xtigervncviewer .vnc/socket.{{workspaces[workspace].host}}

{% elif workspaces[workspace].type == "vncviewer-ssh-tcp" %}