fix image name and placeholder for security hardened job
There was a typo in the image name, and the placeholder
was not correctly being used.
tox -evenv -- pip install diskimage-builder -c $UPPER_CONSTRAINTS_FILE
fi
- if [ "$image_name" == "overclud-sec-hard-full" ]; then
+ if [ "{image-name}" == "overcloud-sec-hard-full" ]; then
tox -evenv -- openstack overcloud image build --config-file /usr/share/openstack-tripleo-common/image-yaml/overcloud-hardened-images.yaml --config-file /usr/share/openstack-tripleo-common/image-yaml/overcloud-hardened-images-centos7.yaml --elements-path="$ELEMENTS"
else
tox -evenv -- openstack overcloud image build --type {image-name} --elements-path="$ELEMENTS"
