Commit bf01c6f9 authored by Jérome Perrin's avatar Jérome Perrin

software/theia: set TMP

We don't want theia to use /tmp/ this prevents running more than one
instance (for example we can only install vscode extensions once. golang
language server is also broken)
parent 4e47a7d4
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
[instance] [instance]
filename = instance.cfg.in filename = instance.cfg.in
md5sum = f0d19916c838e4ec2bb0a697f997adde md5sum = f24f0a2ed220ec03de06ce8a948c5975
[yarn.lock] [yarn.lock]
filename = yarn.lock filename = yarn.lock
......
...@@ -78,7 +78,7 @@ recipe = slapos.cookbook:userinfo ...@@ -78,7 +78,7 @@ recipe = slapos.cookbook:userinfo
recipe = slapos.cookbook:wrapper recipe = slapos.cookbook:wrapper
wrapper-path = $${directory:services}/$${:_buildout_section_name_} wrapper-path = $${directory:services}/$${:_buildout_section_name_}
command-line = command-line =
env LC_ALL=C.UTF-8 ${theia-wrapper:rendered} --hostname=$${:hostname} --port=$${:port} env LC_ALL=C.UTF-8 TMP=$${directory:tmp} ${theia-wrapper:rendered} --hostname=$${:hostname} --port=$${:port}
ip = $${instance-parameter:ipv4-random} ip = $${instance-parameter:ipv4-random}
hostname = $${:ip} hostname = $${:ip}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment