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

slaprunner: Include /bin & /usr/bin in $PATH by default

This should not depend on the environment when executing slapos node
instance
parent d4d853ae
...@@ -50,7 +50,7 @@ mode = 0644 ...@@ -50,7 +50,7 @@ mode = 0644
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner.cfg url = ${:_profile_base_location_}/instance-runner.cfg
output = ${buildout:directory}/template-runner.cfg.in output = ${buildout:directory}/template-runner.cfg.in
md5sum = d67efe18c8d2295a9cc1274151bd63ce md5sum = c42444d468345dc1954f4b91b6de0c92
mode = 0644 mode = 0644
[template-runner-import-script] [template-runner-import-script]
......
...@@ -535,7 +535,7 @@ recipe = slapos.cookbook:shell ...@@ -535,7 +535,7 @@ recipe = slapos.cookbook:shell
wrapper = $${directory:bin}/sh wrapper = $${directory:bin}/sh
shell = ${bash:location}/bin/bash shell = ${bash:location}/bin/bash
home = $${runnerdirectory:home} home = $${runnerdirectory:home}
path = $${environ:PATH}:${nano:location}/bin:${vim:location}/bin:${screen:location}/bin:${git:location}/bin:${tig:location}/bin path = $${environ:PATH}:/usr/bin:/bin/:${nano:location}/bin:${vim:location}/bin:${screen:location}/bin:${git:location}/bin:${tig:location}/bin
ps1 = "\\w> " ps1 = "\\w> "
[environ] [environ]
...@@ -629,7 +629,7 @@ exitcodes = 0 ...@@ -629,7 +629,7 @@ exitcodes = 0
logfile = $${directory:log}/supervisord.log logfile = $${directory:log}/supervisord.log
no_logfile = NONE no_logfile = NONE
numprocs = 1 numprocs = 1
path = $${environ:PATH} path = $${shell:path}
pidfile = $${directory:run}/supervisord.pid pidfile = $${directory:run}/supervisord.pid
server = $${slaprunner:ipv4}:$${:port} server = $${slaprunner:ipv4}:$${:port}
port = 39986 port = 39986
......
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