Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
slapos
Commits
5efe7c81
Commit
5efe7c81
authored
Nov 10, 2014
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kvm SR: use same clone amount parameter name than already implemented in slaprunner.
parent
502f3113
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
software/kvm/common.cfg
software/kvm/common.cfg
+1
-1
software/kvm/instance-kvm-resilient-input-schema.json
software/kvm/instance-kvm-resilient-input-schema.json
+1
-1
software/kvm/instance-kvm-resilient.cfg.jinja2
software/kvm/instance-kvm-resilient.cfg.jinja2
+1
-1
No files found.
software/kvm/common.cfg
View file @
5efe7c81
...
...
@@ -100,7 +100,7 @@ on-update = true
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/instance-kvm-resilient.cfg.jinja2
mode = 644
md5sum = 4
3f2eca698f25f72481f89d82403b991
md5sum = 4
12d8540e054aa436bee723d85213a2b
download-only = true
on-update = true
...
...
software/kvm/instance-kvm-resilient-input-schema.json
View file @
5efe7c81
...
...
@@ -35,7 +35,7 @@
"type"
:
"string"
,
"default"
:
"3B"
},
"resilien
cy-backup-amount
"
:
{
"resilien
t-clone-number
"
:
{
"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."
,
"type"
:
"integer"
,
...
...
software/kvm/instance-kvm-resilient.cfg.jinja2
View file @
5efe7c81
...
...
@@ -3,7 +3,7 @@
{% import 'parts' as parts %}
{% import 'replicated' as replicated with context %}
{% set backup_amount = slapparameter_dict.pop('resilien
cy-backup-amount', "2
")|int + 1 -%}
{% set backup_amount = slapparameter_dict.pop('resilien
t-clone-number', "1
")|int + 1 -%}
[buildout]
eggs-directory = {{ eggs_directory }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment