Commit 0c535793 authored by Nicolas Wavrant's avatar Nicolas Wavrant

slaprunner: path environment var configured for dropbear

parent 0faefdeb
......@@ -44,7 +44,7 @@ mode = 0644
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner.cfg
output = ${buildout:directory}/template-runner.cfg.in
md5sum = 3ec889957be037fbc7f0f0c68b5d532a
md5sum = a0977d73852e5ec6373d66236c6834db
mode = 0644
[template-runner-import-script]
......
......@@ -613,7 +613,13 @@ stop-on-error = true
[bash-profile]
recipe = plone.recipe.command
command = if [ ! -f $${:location} ]; then echo "cd $${runnerdirectory:home}" > $${:location}; fi
command = if [ ! -f $${:location} ]; then echo "$${:content}" > $${:location}; fi
content =
# Beware, this file is automatically processed by slapgrid
# Do not modify it, your changes will be lost
cd $${runnerdirectory:home}
PATH=$PATH:${nano:location}/bin:${vim:location}/bin:${screen:location}/bin:${git:location}/bin:${curl:location}/bin:${python2.7:location}/bin
export PATH
location = $${buildout:directory}/.bash_profile
stop-on-error = true
......
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