Explorar el Código

fix workspace invokation and require socat

pull/1/head
padre
commit
59183c3a7e
Se han modificado 2 ficheros con 8 adiciones y 1 borrados
  1. +7
    -0
      tasks/apt.yaml
  2. +1
    -1
      templates/workspaces/workspace.space.fish.j2

+ 7
- 0
tasks/apt.yaml Ver fichero

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

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

+ 1
- 1
templates/workspaces/workspace.space.fish.j2 Ver fichero

@@ -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" %}