[buildout]

extends =
  ../../../stack/slapos.cfg

parts =
  slapos-cookbook
  instance-profile
  lte.sh

[instance-profile]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.jinja2.cfg
rendered = ${buildout:directory}/instance.cfg
md5sum = 3bbbb5297db5dd49f5dfc158e4291d4c
mode = 0644
extensions = jinja2.ext.do
context =
  section buildout buildout
  
[copy-to-instance]
recipe  = slapos.recipe.build:download
url     = ${:_profile_base_location_}/${:_buildout_section_name_}
destination = ${buildout:directory}/${:_buildout_section_name_}

[lte.sh]
<= copy-to-instance
md5sum = 9de4c400d411083d8ecd8d03d62b97f0