From 8af52f45681275997204080f1cac854b255f2bcc Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Thu, 30 Jun 2016 14:01:03 -0500 Subject: modfied to suite the latest code changes. Change-Id: I36f4f20a9222fe7c4cc75dd3d546a28130c3fbb2 Signed-off-by: Narinder Gupta --- ci/bundle_tpl/nova-compute.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ci/bundle_tpl/nova-compute.yaml') 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 %} -- cgit 1.2.3-korg