instance-kvm-export.cfg.jinja2 747 Bytes
Newer Older
1
[buildout]
2 3 4
extends =
  {{ kvm_template }}
  {{ pbsready_export_template }}
5 6 7 8 9 10

parts +=
  cron-entry-backup

  certificate-authority
  publish-connection-information
11 12
  kvm-vnc-promise
  kvm-disk-image-corruption-promise
13 14 15 16 17 18 19 20
  websockify-sighandler
  novnc-promise
  cron
  frontend-promise

# Create the exporter executable, which is a simple shell script
[exporter]
recipe = slapos.recipe.template
21 22
url = {{ template_kvm_export }}
output = ${directory:bin}/${slap-parameter:namebase}-exporter
23
mode = 0755
24
backup-disk-path = ${directory:backup}/virtual.qcow2
25
# Resilient stack wants a "wrapper" parameter
26
wrapper = ${:output}
27 28 29 30 31

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