Fixed overcloud-hardened-images file name for py3

For python3, the file name is overcloud-hardened-images-python3.yaml
and for python2, it is overcloud-hardened-images-python3.yml

Change-Id: I7fc544d974bf3f6f0d35b43030c5caa80767a43d
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
This commit is contained in:
Chandan Kumar (raukadah) 2020-04-24 23:39:24 +05:30
parent 874d54e615
commit 2eed7bfa10
1 changed files with 5 additions and 1 deletions

View File

@ -10,7 +10,11 @@ fi
# the tripleo_image_type is set and passed from the ci job definition
if [ "{{ tripleo_image_type }}" == "overcloud-hardened-full" ]; then
CONFIG_FILES="--config-file \
{{ tripleo_common_path }}/image-yaml/overcloud-hardened-images.yaml \
{% if python_v == "py3" %}
{{ tripleo_common_path }}/image-yaml/overcloud-hardened-images-python3.yaml \
{% else %}
{{ tripleo_common_path }}/image-yaml/overcloud-hardened-imagesyaml \
{% endif %}
--config-file {{ tripleo_common_path }}/image-yaml/overcloud-hardened-images-{{ tripleo_image_os }}.yaml"
else
# base_image_config in vars/common.yaml, python_v set in build-images role