Steve Baker b1df493d43 Add --set argument to prepare command
This new argument will allow special ceph variables to be added to the
template file overcloud_containers.yaml.j2. For example if the
following existed in the template file:
  {% set ceph_namespace=ceph_namespace or "ceph" %}
  {% set ceph_daemon=ceph_daemon or "daemon" %}
  {% set ceph_tag=ceph_tag or "tag-build-master-jewel-centos-7" %}
  - imagename: "{{ ceph_namespace }}/{{ ceph_daemon }}:{{ ceph_tag }}"

Then the --set argument will allow making substitutions on these
values, for example:
  openstack overcloud container image prepare \
      --namespace tripleoupstream \
      --tag latest \
      --images-file overcloud_containers.yaml \
      --set ceph_namespace=myceph \
      --set ceph_tag=latest \
      --env-file $HOME/docker_registry.yaml

Change-Id: Ie12dbab0f4d7f20d14a764abb9095fd8b326c700
2017-08-14 13:03:18 +12:00
..
2017-08-14 13:03:18 +12:00