modified to fix the opencontrail bundle issue for nonha.
[joid.git] / ci / config_tpl / bundle_tpl / glance.yaml
1     glance:
2       charm: "local:{{ ubuntu.release }}/glance"
3       num_units: {{ unit_qty() }}
4       options:
5         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
6 {% if os.ha.mode == 'ha' %}
7         vip: {{ opnfv.vip.glance }}
8 {% endif %}
9 {% if os.beta.public_api %}
10         os-public-hostname: api.{{ opnfv.domain }}
11 {% endif %}
12       to:
13 {% for unit_id in to_select() %}
14         - "lxc:nodes={{ unit_id }}"
15 {% endfor %}