[buildout]
extends = ${template-kvm:output}
          ${pbsready-export:output}

parts +=
  cron-entry-backup

  certificate-authority
  publish-connection-information
  kvm-vnc-promise
  kvm-disk-image-corruption-promise
  websockify-sighandler
  novnc-promise
  cron
  frontend-promise

# Create the exporter executable, which is a simple shell script
[exporter]
recipe = slapos.recipe.template
url = ${template-kvm-export-script:location}/${template-kvm-export-script:filename}
output = $${directory:bin}/$${slap-parameter:namebase}-exporter
mode = 0755
backup-disk-path = $${directory:backup}/virtual.qcow2
# Resilient stack wants a "wrapper" parameter
wrapper = $${:output}

# Extends publish section with resilient parameters
[publish-connection-information]
<= resilient-publish-connection-parameter