Commit 4963ca82 authored by Nicolas Wavrant's avatar Nicolas Wavrant

slaprunner: path environment var configured for dropbear

parent 2cbe4e63
...@@ -44,7 +44,7 @@ mode = 0644 ...@@ -44,7 +44,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 = 3ec889957be037fbc7f0f0c68b5d532a md5sum = a0977d73852e5ec6373d66236c6834db
mode = 0644 mode = 0644
[template-runner-import-script] [template-runner-import-script]
......
...@@ -613,7 +613,13 @@ stop-on-error = true ...@@ -613,7 +613,13 @@ stop-on-error = true
[bash-profile] [bash-profile]
recipe = plone.recipe.command 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 location = $${buildout:directory}/.bash_profile
stop-on-error = true 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