Remove type from overcloud sec full build
type and config-file cannot be used together, and also
tye image type overcloud-sec-hard-full is not supported by type,
so just rely on the config file to build it.
fi
if [ "$image_name" == "overclud-sec-hard-full" ]; then
- tox -evenv -- openstack overcloud image build --config-file /usr/share/openstack-tripleo-common/image-yaml/overcloud-hardened-images.yaml --type {image-name} --elements-path="$ELEMENTS"
+ 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"
fi
