Commit 5b3c5d2b authored by Jérome Perrin's avatar Jérome Perrin

slaprunner: do not prepend parent $PATH in ~/.bash_profile

When connecting by ssh, bash starts with a $PATH containing standard
directories (/usr/bin:/bin). We don't want this to have priority either.
parent fc12d256
......@@ -19,7 +19,7 @@ md5sum = 713db528880282d568278f09458d2aab
[template-runner]
filename = instance-runner.cfg
md5sum = 9d79ae83d32ab145d9dca723b7285555
md5sum = 97b4d01c4ce67a98883425a473781f6f
[template-runner-import-script]
filename = template/runner-import.sh.jinja2
......
......@@ -709,7 +709,7 @@ recipe = slapos.recipe.template:jinja2
template = ${template-bash-profile:location}/${template-bash-profile:filename}
rendered = $${buildout:directory}/.bash_profile
context =
raw path $PATH:$${shell:path}
raw path $${shell:path}
key workdir runnerdirectory:home
#---------------------------
......
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