summaryrefslogtreecommitdiffstats
path: root/ci/bundle_tpl/nova-compute.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/bundle_tpl/nova-compute.yaml')
-rw-r--r--ci/bundle_tpl/nova-compute.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/ci/bundle_tpl/nova-compute.yaml b/ci/bundle_tpl/nova-compute.yaml
index e6305d4c..2f23816e 100644
--- a/ci/bundle_tpl/nova-compute.yaml
+++ b/ci/bundle_tpl/nova-compute.yaml
@@ -1,6 +1,6 @@
nova-compute:
charm: "local:{{ ubuntu.release }}/nova-compute"
- num_units: {{ opnfv.units }}
+ num_units: {{ opnfv.units - 1 }}
options:
enable-live-migration: true
enable-resize: true
@@ -13,6 +13,6 @@
virt-type: lxd
{% endif %}
to:
-{% for unit_id in to_select(opnfv.units) %}
- - "nodes={{ unit_id }}"
+{% for unit_id in to_select(opnfv.units - 1) %}
+ - "nodes={{ unit_id + 1 }}"
{% endfor %}