diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2016-06-30 14:01:03 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2016-06-30 16:00:57 -0500 |
commit | 8af52f45681275997204080f1cac854b255f2bcc (patch) | |
tree | 3f678ed6f8936145f3995f12e5a06df494b838ca /ci/bundle_tpl/nova-compute.yaml | |
parent | 8cc46e65c20745e241b68b3d960fc3c96d64b970 (diff) |
modfied to suite the latest code changes.
Change-Id: I36f4f20a9222fe7c4cc75dd3d546a28130c3fbb2
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/bundle_tpl/nova-compute.yaml')
-rw-r--r-- | ci/bundle_tpl/nova-compute.yaml | 6 |
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 %} |