Commit 6b3c7386 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

html5as: Add sla computer parameter to replicate instance

parent 7fb84f78
...@@ -45,4 +45,4 @@ md5sum = 1c0ee16966e1fcdb3fd11c09f12ee2b2 ...@@ -45,4 +45,4 @@ md5sum = 1c0ee16966e1fcdb3fd11c09f12ee2b2
[template_instance_replicate] [template_instance_replicate]
_update_hash_filename_ = instance_replicate.cfg.in _update_hash_filename_ = instance_replicate.cfg.in
md5sum = 1b3efe4ddd2419ad1858be33d1248a17 md5sum = 38d1d352307f79c9c99bf2a80a5c76b8
...@@ -28,6 +28,9 @@ config-download_url = ${slap-parameter:download_url} ...@@ -28,6 +28,9 @@ config-download_url = ${slap-parameter:download_url}
name = instance-html5as-{{ i }} name = instance-html5as-{{ i }}
config-port = ${slap-parameter:port-{{ i }}} config-port = ${slap-parameter:port-{{ i }}}
config-title = ${slap-parameter:title-{{ i }}} config-title = ${slap-parameter:title-{{ i }}}
{% if "sla-%s-computer-guid" % i in slapparameter_dict -%}
sla-computer_guid = {{ slapparameter_dict["sla-%s-computer-guid" % i] }}
{% endif -%}
{% endfor %} {% endfor %}
[slap-parameter] [slap-parameter]
......
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