kvm SR: use same clone amount parameter name than already implemented in slaprunner.

parent 502f3113
...@@ -100,7 +100,7 @@ on-update = true ...@@ -100,7 +100,7 @@ on-update = true
recipe = hexagonit.recipe.download recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/instance-kvm-resilient.cfg.jinja2 url = ${:_profile_base_location_}/instance-kvm-resilient.cfg.jinja2
mode = 644 mode = 644
md5sum = 43f2eca698f25f72481f89d82403b991 md5sum = 412d8540e054aa436bee723d85213a2b
download-only = true download-only = true
on-update = true on-update = true
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
"type": "string", "type": "string",
"default": "3B" "default": "3B"
}, },
"resiliency-backup-amount": { "resilient-clone-number": {
"title": "Amount of backup(s) to create", "title": "Amount of backup(s) to create",
"description": "Amount of backup(s) to create. Each backup consists of a Pull Backup Server and a clone.", "description": "Amount of backup(s) to create. Each backup consists of a Pull Backup Server and a clone.",
"type": "integer", "type": "integer",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
{% import 'parts' as parts %} {% import 'parts' as parts %}
{% import 'replicated' as replicated with context %} {% import 'replicated' as replicated with context %}
{% set backup_amount = slapparameter_dict.pop('resiliency-backup-amount', "2")|int + 1 -%} {% set backup_amount = slapparameter_dict.pop('resilient-clone-number', "1")|int + 1 -%}
[buildout] [buildout]
eggs-directory = {{ eggs_directory }} eggs-directory = {{ eggs_directory }}
......
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