[buildout]

extends =
  ../../stack/slapos.cfg
  ../../component/lxc/buildout.cfg
  ../../component/lxml-python/buildout.cfg
  ../../component/curl/buildout.cfg
  ../../component/gzip/buildout.cfg
  ../../component/bzip2/buildout.cfg
  ../../component/xz-utils/buildout.cfg
  ../../component/tar/buildout.cfg
  ../../component/shellinabox/buildout.cfg
  ../../component/bash/buildout.cfg
  ../../component/coreutils/buildout.cfg

parts =
  lxml-python
  template
  template-lxc
  lxc-conf-in
  slapos-cookbook
  slapos-toolbox
  lxc
  shellinabox

[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
md5sum = c722ba58b06d3105f64fdeccbbd689bb
output = ${buildout:directory}/template.cfg
mode = 0644

[template-lxc]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-lxc.cfg
md5sum = af5e31fb41e2d31b25f172df45f29fc6
output = ${buildout:directory}/template-lxc.cfg
mode = 0644

[download]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:filename}
download-only = true
mode = 0644

[lxc-conf-in]
<= download
filename = lxc.conf.in
md5sum = b25334fc369e4e0f608bc64f14b0315d

[promise-state]
<= download
filename = check_state.sh.in
md5sum = 725fb0477f8b8778566ed4b22b25bf27

[promise-exists]
<= download
filename = check_exists.sh.in
md5sum = 60d4f5f73a3d10a3d7d7201aab977d19

[slapos-toolbox]
recipe = zc.recipe.egg
scripts = slapcontainer
eggs =
  slapos.toolbox

[versions]
slapos.cookbook = 0.64.1
slapos.toolbox = 0.30
