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

software/theia: set $HOME

When using nested slapos $HOME might not be set (which might be a bug in slapos
format) so set $HOME ourselves so that we don't use home files from the outer
slapos.
parent 7c80b7c4
......@@ -15,7 +15,7 @@
[instance]
filename = instance.cfg.in
md5sum = d6f7d1607641bee3543cebc04db73472
md5sum = 211601e6fe818ab60c8454549f5fcb71
[yarn.lock]
filename = yarn.lock
......
......@@ -185,7 +185,7 @@ recipe = slapos.cookbook:userinfo
recipe = slapos.cookbook:wrapper
wrapper-path = $${directory:services}/$${:_buildout_section_name_}
command-line =
env LC_ALL=C.UTF-8 TMP=$${directory:tmp} THEIA_WEBVIEW_EXTERNAL_ENDPOINT='{{hostname}}' THEIA_SHELL=$${theia-shell:rendered} ${theia-wrapper:rendered} --hostname=$${:hostname} --port=$${:port} $${directory:project}
env HOME=$${buildout:directory} LC_ALL=C.UTF-8 TMP=$${directory:tmp} THEIA_WEBVIEW_EXTERNAL_ENDPOINT='{{hostname}}' THEIA_SHELL=$${theia-shell:rendered} ${theia-wrapper:rendered} --hostname=$${:hostname} --port=$${:port} $${directory:project}
ip = $${instance-parameter:ipv4-random}
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